Skip to content

Commit

Permalink
Merge pull request #1876 from lwronski/fix-set-publish
Browse files Browse the repository at this point in the history
Fix - Add parentheses to the function call
  • Loading branch information
tgodzik authored Feb 22, 2023
2 parents 88ca0c1 + baa9401 commit 3f9f795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/publish.sc
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,5 @@ def setShouldPublish() = T.command {
sys.error("GITHUB_ENV not set")
val charSet = Charset.defaultCharset()
val nl = System.lineSeparator()
os.write.append(os.Path(envFile, os.pwd), s"SHOULD_PUBLISH=$shouldPublish$nl".getBytes(charSet))
os.write.append(os.Path(envFile, os.pwd), s"SHOULD_PUBLISH=${shouldPublish()}$nl".getBytes(charSet))
}

0 comments on commit 3f9f795

Please sign in to comment.