From 2d2ff28c772a78fa76a656f1a66e04eeea9c879f Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 28 Feb 2018 18:44:57 -0800 Subject: [PATCH] [bootstrap] Set-StrictMode to latest --- scripts/bootstrap.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index a3c842dc09..c8ba503d84 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