Add unicode characters

This commit is contained in:
Markus Fleschutz
2021-04-16 19:30:13 +02:00
parent 357ae2cea9
commit ef5367ed53
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX fetch-repo.ps1 [<repo-dir>] .SYNTAX fetch-repo.ps1 [<repo-dir>]
.DESCRIPTION fetches updates for the current/given Git repository (including submodules) .DESCRIPTION fetches updates for the current/given Git repository (including submodules)
@ -9,7 +9,7 @@
param($RepoDir = "$PWD") param($RepoDir = "$PWD")
try { try {
"Fetching updates for Git repository $($RepoDir)..." "📥 Fetching updates for Git repository $($RepoDir)..."
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
set-location "$RepoDir" set-location "$RepoDir"

View File

@ -28,7 +28,7 @@ try {
$Count++ $Count++
} }
write-host -foregroundColor green "✔️ fetched updates for $Count Git repositories under $ParentDir in $($StopWatch.Elapsed.Seconds) second(s)" write-host -foregroundColor green "✔️ updates fetched for $Count Git repositories under $ParentDir in $($StopWatch.Elapsed.Seconds) second(s)"
exit 0 exit 0
} catch { } catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"