Skip to content

Commit 9706951

Browse files
committed
utils: simplify signature for Build-ExperimentalRuntime
1 parent 663ec93 commit 9706951

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

utils/build.ps1

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,15 +2455,7 @@ function Test-Runtime([Hashtable] $Platform) {
24552455
}
24562456
}
24572457

2458-
function Build-ExperimentalRuntime {
2459-
[CmdletBinding(PositionalBinding = $false)]
2460-
param
2461-
(
2462-
[Parameter(Position = 0, Mandatory = $true)]
2463-
[Hashtable] $Platform,
2464-
[switch] $Static = $false
2465-
)
2466-
2458+
function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $false) {
24672459
# TODO: remove this once the migration is completed.
24682460
Invoke-IsolatingEnvVars {
24692461
Invoke-VsDevShell $BuildPlatform

0 commit comments

Comments
 (0)