Skip to content

Commit ab8e842

Browse files
committed
🐛 Allow plan to be specified directly to the -ModuleFastInfo parameter
1 parent 16dd735 commit ab8e842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ModuleFast.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function Install-ModuleFast {
7878
[Switch]$CI,
7979
#The path to the lockfile. By default it is requires.lock.json in the current folder. This is ignored if CI is not present. It is generally not recommended to change this setting.
8080
[string]$CILockFilePath = $(Join-Path $PWD 'requires.lock.json'),
81-
[Parameter(Mandatory, ValueFromPipeline, ParameterSetName = 'ModuleFastInfo')][ModuleFastInfo]$ModuleFastInfo,
81+
[Parameter(Mandatory, ValueFromPipeline, ParameterSetName = 'ModuleFastInfo')][ModuleFastInfo[]]$ModuleFastInfo,
8282
#Output a list of specifications for the modules to install. This is the same as -WhatIf but without the additional WhatIf Output
8383
[Switch]$Plan,
8484
#This will output the resulting modules that were installed.

0 commit comments

Comments
 (0)