Skip to content

Commit 3f9f795

Browse files
authored
Merge pull request #1876 from lwronski/fix-set-publish
Fix - Add parentheses to the function call
2 parents 88ca0c1 + baa9401 commit 3f9f795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/publish.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,5 @@ def setShouldPublish() = T.command {
211211
sys.error("GITHUB_ENV not set")
212212
val charSet = Charset.defaultCharset()
213213
val nl = System.lineSeparator()
214-
os.write.append(os.Path(envFile, os.pwd), s"SHOULD_PUBLISH=$shouldPublish$nl".getBytes(charSet))
214+
os.write.append(os.Path(envFile, os.pwd), s"SHOULD_PUBLISH=${shouldPublish()}$nl".getBytes(charSet))
215215
}

0 commit comments

Comments
 (0)