Skip to content

Commit 5c1fd5c

Browse files
committed
20220730B
1 parent 78bdfa2 commit 5c1fd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugoalh.GitHubActionsToolkit/module/nodejs-invoke.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Function Invoke-NodeJsWrapper {
4444
$ResultSkipIndex += $ResultIndex
4545
}
4646
}
47-
If ($LASTEXITCODE -igt 0) {
47+
If ($LASTEXITCODE -ine 0) {
4848
Throw "Unexpected exit code ``$LASTEXITCODE``! $(($Result | Select-Object -SkipIndex $ResultSkipIndex) -join "`n")"
4949
}
5050
Return ($Result[($Result.IndexOf($ResultSeparator) + 1)..($Result.Count - 1)] -join "`n" | ConvertFrom-Json -Depth 100)

0 commit comments

Comments
 (0)