Minor midifications

This commit is contained in:
lksz 2020-10-01 00:28:57 -04:00
parent 45b53dc110
commit 0718bf28c7
2 changed files with 3 additions and 1 deletions

View file

@ -414,6 +414,8 @@ if ( -not $MyPSScriptRoot -or (Test-Path function:Test-IsAdmin, function:Convert
. ProfileCode_common
}
$SetupFromWeb = [bool]$(@( $SetupFromWeb, $sfw, $LoadCode ) | Where-Object { $_ })
if ( -not $SetupFromWeb ) {
_setup @PSBoundParameters
Get-Item function:_setup | Remove-Item