Skip to content

Commit 4565a97

Browse files
committed
20220730C
1 parent 5c1fd5c commit 4565a97

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
@@ -37,7 +37,7 @@ Function Invoke-NodeJsWrapper {
3737
Try {
3838
[String[]]$Result = Invoke-Expression -Command "node --no-deprecation --no-warnings `"$($WrapperFullName -ireplace '\\', '/')`" `"$($InputObject | ConvertTo-Json -Depth 100 -Compress)`" `"$ResultSeparator`""
3939
[UInt32]$ResultSkipIndex = @()
40-
For ([UInt32]$ResultIndex = 0; $ResultIndex -lt $Result.Count; $ResultIndex++) {
40+
For ([UInt32]$ResultIndex = 0; $ResultIndex -ilt $Result.Count; $ResultIndex++) {
4141
[String]$Item = $Result[$ResultIndex]
4242
If ($Item -imatch '^::.+$') {
4343
Write-Host -Object $Item

0 commit comments

Comments
 (0)