Skip to content

Commit

Permalink
Fix build failure due to exec block
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSabthar committed Oct 6, 2023
1 parent 69f0df6 commit 2869681
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,8 @@ class BallerinaPlugin implements Plugin<Project> {
}
}
doLast {
project.exec {
if (buildOnDocker) {
deleteFile("$project.projectDir/docker.env")
}
if (buildOnDocker) {
deleteFile("$project.projectDir/docker.env")
}
}
outputs.dir balaArtifact
Expand Down Expand Up @@ -463,10 +461,8 @@ class BallerinaPlugin implements Plugin<Project> {
}
}
doLast {
project.exec {
if (buildOnDocker) {
deleteFile("$project.projectDir/docker.env")
}
if (buildOnDocker) {
deleteFile("$project.projectDir/docker.env")
}
}
}
Expand Down

0 comments on commit 2869681

Please sign in to comment.