Skip to content

Commit

Permalink
[bootstrap] Set-StrictMode to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Mar 1, 2018
1 parent 90cf437 commit 2d2ff28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d2ff28

Please sign in to comment.