Update clean-branch.ps1

This commit is contained in:
Markus Fleschutz 2021-03-24 11:46:15 +01:00 committed by GitHub
parent f7baec4716
commit 39fe061102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])"