Update Node.Tests.ps1

This commit is contained in:
aparnajyothi-y 2024-06-25 13:03:46 +05:30 committed by GitHub
parent 05826df7a9
commit 2c843f30c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ Describe "Node.js" {
It "cached version is used without downloading" {
$useNodeLogFile = Get-UseNodeLogs
if ($useNodeLogFile -eq $null) {
Skip "Log file does not exist"
Set-ItResult -Skipped -Because "Log file does not exist"
} else {
$useNodeLogFile | Should -Exist
$useNodeLogContent = Get-Content $useNodeLogFile -Raw