Fix potential errors
This commit is contained in:
parent
03b0c21514
commit
2429e6ad49
|
@ -363,6 +363,7 @@ $null = New-Module {
|
|||
}
|
||||
default {
|
||||
if ((-not $Arguments.ContainsKey($userArgument)) -or (-not $Arguments[$userArgument])) {
|
||||
$Arguments.Remove($userArgument);
|
||||
$Arguments.Add($userArgument, ($IsWindows ? $env:UserName : $env:USER));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue