Skip to content

Commit 5e5b01a

Browse files
committed
pwsh\Init-App.ps1 - RemoveFromEnvPath
- critical bug fix, reaffirms that soem code review is required in this code base
1 parent 31757a8 commit 5e5b01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwsh/Init-App.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function AddKTAppToEnv([string] $App = '', [string] $PFilesX64PTDir = '', [strin
6666
}
6767

6868
function RemoveFromEnvPath([string] $path = '') {
69-
if (-not [string]::IsNullOrEmpty($path)) {
69+
if ([string]::IsNullOrEmpty($path)) {
7070
Write-Host "Empty string: $path"
7171
return
7272
}

0 commit comments

Comments
 (0)