From 735d0d160c3db0d5b1fc24acab8b19e517738604 Mon Sep 17 00:00:00 2001 From: ayeshLK Date: Wed, 7 Aug 2024 14:05:32 +0530 Subject: [PATCH] Fix exec not found issue in verify-bal-version task --- src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy index c1f25c4..825a2c5 100644 --- a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy +++ b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy @@ -231,7 +231,7 @@ class BallerinaPlugin implements Plugin { def error = new ByteArrayOutputStream() try { - exec { + project.exec { if (Os.isFamily(Os.FAMILY_WINDOWS)) { commandLine 'cmd', '/c', "bal.bat -v" } else {