We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bdfa2 commit 5c1fd5cCopy full SHA for 5c1fd5c
hugoalh.GitHubActionsToolkit/module/nodejs-invoke.psm1
@@ -44,7 +44,7 @@ Function Invoke-NodeJsWrapper {
44
$ResultSkipIndex += $ResultIndex
45
}
46
47
- If ($LASTEXITCODE -igt 0) {
+ If ($LASTEXITCODE -ine 0) {
48
Throw "Unexpected exit code ``$LASTEXITCODE``! $(($Result | Select-Object -SkipIndex $ResultSkipIndex) -join "`n")"
49
50
Return ($Result[($Result.IndexOf($ResultSeparator) + 1)..($Result.Count - 1)] -join "`n" | ConvertFrom-Json -Depth 100)
0 commit comments