mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
[bootstrap] Set-StrictMode to latest
This commit is contained in:
parent
90cf4371c3
commit
2d2ff28c77
@ -3,13 +3,12 @@ param(
|
||||
[ValidateNotNullOrEmpty()][string]$disableMetrics = "0",
|
||||
[Parameter(Mandatory=$False)][string]$withVSPath = ""
|
||||
)
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
$scriptsDir = split-path -parent $script:MyInvocation.MyCommand.Definition
|
||||
. "$scriptsDir\VcpkgPowershellUtils.ps1"
|
||||
$vcpkgRootDir = vcpkgFindFileRecursivelyUp $scriptsDir .vcpkg-root
|
||||
Write-Verbose("vcpkg Path " + $vcpkgRootDir)
|
||||
|
||||
|
||||
$gitHash = "unknownhash"
|
||||
$oldpath = $env:path
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user