This commit is contained in:
Markus Fleschutz 2021-09-19 19:10:49 +02:00
parent ece4ccd64d
commit 922fe41168

View File

@ -29,7 +29,7 @@ try {
[int]$Step = 1
foreach ($Folder in $Folders) {
$FolderName = (get-item "$Folder").Name
"👉 Step $Step/$FolderCount: Cleaning 📂$FolderName..."
"👉 Step $Step/$FolderCount: Cleaning 📂$($FolderName)..."
& git -C "$Folder" clean -xfd -f # force + recurse into dirs + don't use the standard ignore rules
if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' failed" }