Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit c3e0d7d

Browse files
authored
Add -Force to Get-ChildItem params (#476)
1 parent 18a9a98 commit c3e0d7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PowerShellGet/private/functions/Set-InstalledModulesVariable.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function Set-InstalledModulesVariable
1111
$GetChildItemParams = @{
1212
Path = $location
1313
Recurse = $true
14+
Force = $true
1415
Filter = $script:PSGetItemInfoFileName
1516
ErrorAction = 'SilentlyContinue'
1617
WarningAction = 'SilentlyContinue'

0 commit comments

Comments
 (0)