diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-02-28 18:44:57 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-02-28 18:45:33 -0800 |
| commit | 2d2ff28c772a78fa76a656f1a66e04eeea9c879f (patch) | |
| tree | 1df14c7dfc7318ff4ab8b29a46e0877eb36c8520 /scripts/bootstrap.ps1 | |
| parent | 90cf4371c3852a69477dd165538edec04b525e25 (diff) | |
| download | vcpkg-2d2ff28c772a78fa76a656f1a66e04eeea9c879f.tar.gz vcpkg-2d2ff28c772a78fa76a656f1a66e04eeea9c879f.zip | |
[bootstrap] Set-StrictMode to latest
Diffstat (limited to 'scripts/bootstrap.ps1')
| -rw-r--r-- | scripts/bootstrap.ps1 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index a3c842dc0..c8ba503d8 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -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 |
