Skip to content

Commit 1fd0df8

Browse files
Remove mandatory requirement for PassThru parameter in Install-PSModule function
1 parent 1a6e7a4 commit 1fd0df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Helpers/Helpers.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function Install-PSModule {
303303
[string] $Path,
304304

305305
# Return the path of the installed module
306-
[Parameter(Mandatory)]
306+
[Parameter()]
307307
[switch] $PassThru
308308
)
309309

0 commit comments

Comments
 (0)