mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Improved output of clean-repo.ps1
This commit is contained in:
parent
1f87722c2e
commit
44414a6135
@ -23,7 +23,7 @@ try {
|
||||
& git submodule foreach --recursive git clean -fdx
|
||||
if ($lastExitCode -ne "0") { throw "'git clean -fdx' in submodules failed" }
|
||||
|
||||
"✔️ cleaned Git repository 📂$RepoDir"
|
||||
"✔️ Git repository 📂$RepoDir is clean now"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user