Skip to content

Commit 4909995

Browse files
committed
use -version rather than ambiguous -v when installing dotnet
1 parent d9833c4 commit 4909995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function Install-Dotnet
306306
$installScriptPath = Receive-DotnetInstallScript
307307
$installScriptName = [System.IO.Path]::GetFileName($installScriptPath)
308308
If ( $PSCmdlet.ShouldProcess("$installScriptName for $version")) {
309-
& "${installScriptPath}" -c release -v $version
309+
& "${installScriptPath}" -c release -version $version
310310
}
311311
}
312312
catch {

0 commit comments

Comments
 (0)