Skip to content

Commit

Permalink
Fix issue in jbalTools download logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Aug 6, 2024
1 parent 3f722d6 commit 56c535c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ class BallerinaPlugin implements Plugin<Project> {
return
}

if (ballerinaExtension.langVersion == null) {
jbalTools("org.ballerinalang:jballerina-tools:${ballerinaExtension.langVersion}") {
transitive = false
}
} else {
if (ballerinaExtension.langVersion != null) {
jbalTools("org.ballerinalang:jballerina-tools:${ballerinaExtension.langVersion}") {
transitive = false
}
Expand Down

0 comments on commit 56c535c

Please sign in to comment.