Skip to content

Commit

Permalink
[test_install] Simplify restoring location
Browse files Browse the repository at this point in the history
`-PassThru` displays the location and `| Out-Null` discard the output,
so we can remove both to simplify this command.
  • Loading branch information
Ana06 committed May 15, 2024
1 parent 5ff7df5 commit 3cc3ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test/test_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ foreach ($package in $built_pkgs) {
}

# Restore the original location
Set-Location -Path $root -PassThru | Out-Null
Set-Location $root

Write-Host -ForegroundColor Green "`nSUCCESS:$success"
Write-Host -ForegroundColor Red "FAILURE:$failed"
Expand Down

0 comments on commit 3cc3ffc

Please sign in to comment.