mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 16:33:20 +01:00
Update fetch-repo.ps1
This commit is contained in:
parent
447973357a
commit
bbc19d1116
@ -23,7 +23,7 @@ try {
|
||||
& git status
|
||||
if ($lastExitCode -ne "0") { throw "'git status' failed" }
|
||||
|
||||
write-host -foregroundColor green "OK - repository $RepoDir has been fetched"
|
||||
write-host -foregroundColor green "OK - fetched updates for Git repository $RepoDir"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user