Skip to content

Commit

Permalink
build: set working dir in exec task
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase22 committed Jan 4, 2025
1 parent 76ebb90 commit b0867d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions calculator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ abstract class YarnExec : AbstractExecTask<YarnExec>(YarnExec::class.java) {

override fun exec() {
commandLine("sh")
workingDir(this.project.projectDir)
args("-c", "yarn ${script.get()}")
logging.captureStandardOutput(LogLevel.INFO)
logging.captureStandardError(LogLevel.ERROR)
Expand Down

0 comments on commit b0867d7

Please sign in to comment.