mirror of
https://github.com/actions/node-versions.git
synced 2025-08-08 07:43:42 +08:00
Update Node.Tests.ps1
This commit is contained in:
parent
d4f90c669c
commit
4a0b418a79
@ -9,7 +9,7 @@ BeforeAll {
|
|||||||
$useNodeLogFile = Get-ChildItem -Path $logsFolderPath | Where-Object {
|
$useNodeLogFile = Get-ChildItem -Path $logsFolderPath | Where-Object {
|
||||||
$logContent = Get-Content $_.Fullname -Raw
|
$logContent = Get-Content $_.Fullname -Raw
|
||||||
return $logContent -match "setup-node@v"
|
return $logContent -match "setup-node@v"
|
||||||
} | Select-Object -First 1
|
} | Select-Object -First 1
|
||||||
return $useNodeLogFile.Fullname
|
return $useNodeLogFile.Fullname
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user