Set StrictMode version 3.0 (#11563)

This commit is contained in:
xtqqczze
2020-02-03 09:44:10 -08:00
committed by GitHub
parent a34d0f3e80
commit 2014ce66c1
13 changed files with 77 additions and 58 deletions
@@ -16,7 +16,7 @@ param
[ValidateNotNullOrEmpty()]
[string] $Path = $PSScriptRoot
)
Set-StrictMode -Version Latest
Set-StrictMode -Version 3.0
$ErrorActionPreference = 'Stop'
function Test-Elevated