diff --git a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy index 7e58121..ae2e4ae 100644 --- a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy +++ b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy @@ -292,7 +292,7 @@ class BallerinaPlugin implements Plugin { } def balaPath = "$project.projectDir/${balBuildTarget}/bala" - def balaDir = new File(balaDirPath) + def balaDir = new File(balaPath) if (!balaDir.exists()) { println("[Error] 'bala' directory does not exist: ${balaPath}, hence exiting") return