Skip to content

Commit 8261476

Browse files
committed
Fix condition
1 parent 4810d76 commit 8261476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/common.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Function postCommitStatus($state) {
2-
if ($env:scala_sha -ne '') {
2+
if ("$env:scala_sha" -ne "") {
33
$jsonTemplate = '{{ "state": "{0}", "target_url": "{1}", "description": "{2}", "context": "{3}" }}'
44
$json = "$jsonTemplate" -f "$state", "https://ci.appveyor.com/project/scala/scala-dist/build/$env:APPVEYOR_BUILD_ID", "$state", "appveyor/scala-dist/$env:version/$env:mode"
55

0 commit comments

Comments
 (0)