mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-02 10:59:14 +01:00
Add unicode characters
This commit is contained in:
parent
357ae2cea9
commit
ef5367ed53
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/pwsh
|
||||
#!/usr/bin/pwsh
|
||||
<#
|
||||
.SYNTAX fetch-repo.ps1 [<repo-dir>]
|
||||
.DESCRIPTION fetches updates for the current/given Git repository (including submodules)
|
||||
@ -9,7 +9,7 @@
|
||||
param($RepoDir = "$PWD")
|
||||
|
||||
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" }
|
||||
set-location "$RepoDir"
|
||||
|
@ -28,7 +28,7 @@ try {
|
||||
$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
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user