We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458c038 commit 9ab992eCopy full SHA for 9ab992e
_InitializeRepository.ps1
@@ -35,11 +35,9 @@ Begin
35
Remove-Item -Force
36
37
# Delete all empty directories that were left behind.
38
- Get-ChildItem -Path $RepositoryRoot -Recurse -Directory |
+ Get-ChildItem -Path $RepositoryRoot -Recurse -Force -Directory |
39
Sort-Object -Property FullName -Descending | # Delete child directories before parent directories.
40
- Where-Object {
41
- $_.GetFileSystemInfos().Count -eq 0
42
- } |
+ Where-Object { $_.GetFileSystemInfos().Count -eq 0 } |
43
44
}
45
0 commit comments