Skip to content

Commit

Permalink
(chocolateyGH-659) Fix: PowerShell Collection is read-only
Browse files Browse the repository at this point in the history
This bug in PowerShell is in the recent Windows Insider Build regarding
adding multiple aliases separately. You can specify the alias parameter
once and it will work with multiple values. This is a better way of
going about it anyway.
  • Loading branch information
ferventcoder committed Mar 18, 2016
1 parent 7c2a76c commit ca3462a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[alias("o","override","overrideArguments","notSilent")]
[switch] $overrideArgs = $false,
[alias("x86")][switch] $forceX86 = $false,
[alias("params")][alias("parameters")][alias("pkgParams")][string]$packageParameters = '',
[alias("params,"parameters","pkgParams")][string]$packageParameters = '',
[string]$packageScript
)
Expand Down

0 comments on commit ca3462a

Please sign in to comment.