Skip to content

Commit

Permalink
Fix Install-DotNetSdk script under -WhatIf
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Apr 10, 2020
1 parent 5bfc8ae commit 234e1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Install-DotNetSdk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Param (
)

$DotNetInstallScriptRoot = "$PSScriptRoot/../obj/tools"
if (!(Test-Path $DotNetInstallScriptRoot)) { New-Item -ItemType Directory -Path $DotNetInstallScriptRoot | Out-Null }
if (!(Test-Path $DotNetInstallScriptRoot)) { New-Item -ItemType Directory -Path $DotNetInstallScriptRoot -WhatIf:$false | Out-Null }
$DotNetInstallScriptRoot = Resolve-Path $DotNetInstallScriptRoot

# Look up actual required .NET Core SDK version from global.json
Expand Down

0 comments on commit 234e1da

Please sign in to comment.