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 5c1fd5c commit 4565a97Copy full SHA for 4565a97
hugoalh.GitHubActionsToolkit/module/nodejs-invoke.psm1
@@ -37,7 +37,7 @@ Function Invoke-NodeJsWrapper {
37
Try {
38
[String[]]$Result = Invoke-Expression -Command "node --no-deprecation --no-warnings `"$($WrapperFullName -ireplace '\\', '/')`" `"$($InputObject | ConvertTo-Json -Depth 100 -Compress)`" `"$ResultSeparator`""
39
[UInt32]$ResultSkipIndex = @()
40
- For ([UInt32]$ResultIndex = 0; $ResultIndex -lt $Result.Count; $ResultIndex++) {
+ For ([UInt32]$ResultIndex = 0; $ResultIndex -ilt $Result.Count; $ResultIndex++) {
41
[String]$Item = $Result[$ResultIndex]
42
If ($Item -imatch '^::.+$') {
43
Write-Host -Object $Item
0 commit comments