mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-17 07:28:18 +02:00
Updated check-repo.ps1
This commit is contained in:
parent
119d37e4f3
commit
db12f45e0f
@ -71,7 +71,7 @@ try {
|
|||||||
|
|
||||||
$repoDirName = (Get-Item "$FullPath").Name
|
$repoDirName = (Get-Item "$FullPath").Name
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Checked repository 📂$repoDirName in $($elapsed)s."
|
"✔️ Checked 📂$repoDirName repo successfully in $($elapsed)s."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user