Skip to content

Commit da766ad

Browse files
committed
utils: simplify signature for Build-ExperimentalRuntime
1 parent 0334abd commit da766ad

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
@@ -2454,15 +2454,7 @@ function Test-Runtime([Hashtable] $Platform) {
24542454
}
24552455
}
24562456

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

0 commit comments

Comments
 (0)