mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 16:33:20 +01:00
Update clean-branch.ps1
This commit is contained in:
parent
f7baec4716
commit
39fe061102
@ -23,7 +23,7 @@ try {
|
||||
& git submodule foreach --recursive git clean -fdx
|
||||
if ($lastExitCode -ne "0") { throw "'git clean -fdx' in submodules failed" }
|
||||
|
||||
write-host -foregroundColor green "OK - cleaned Git repository $RepoDir from generated files"
|
||||
write-host -foregroundColor green "OK - cleaned Git repository $RepoDir from untracked files"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user