Update fetch-repo.ps1

This commit is contained in:
Markus Fleschutz 2021-03-19 07:31:35 +01:00 committed by GitHub
parent 447973357a
commit bbc19d1116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ try {
& git status & git status
if ($lastExitCode -ne "0") { throw "'git status' failed" } 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 exit 0
} catch { } catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"