Skip to content

Commit d5f9ba0

Browse files
committed
use proper logical and operator
1 parent 31cf828 commit d5f9ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuget/updater/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function Get-Files {
2929
$script:operationExitCode = $LASTEXITCODE
3030
}
3131

32-
if ($script:operationExitCode -eq 0 && "$env:DEPENDABOT_CASE_INSENSITIVE_REPO_CONTENTS_PATH" -eq "") {
32+
if (($script:operationExitCode -eq 0) -and ("$env:DEPENDABOT_CASE_INSENSITIVE_REPO_CONTENTS_PATH" -eq "")) {
3333
# this only makes sense if the native clone operation succeeded and we're not running in case-insensitive mode
3434
Repair-FileCasing
3535
}

0 commit comments

Comments
 (0)