Skip to content

Commit d203fbd

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix test-path usage
1 parent 25eab2b commit d203fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipelines/DSC-Official.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ extends:
125125
- pwsh: |
126126
Set-Location "$(Build.SourcesDirectory)/DSC"
127127
$LLVMBIN = "$($env:PROGRAMFILES)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\bin"
128-
if (!Test-Path $LLVMBIN) {
128+
if (!(Test-Path $LLVMBIN)) {
129129
throw "LLVM path '$LLVMBIN' does not exist"
130130
}
131131
$env:PATH += ";$LLVMBIN"

0 commit comments

Comments
 (0)