Fix stop watch

This commit is contained in:
Markus Fleschutz
2021-04-21 16:43:08 +02:00
parent f156c432e0
commit b90f8cc67a
7 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@ try {
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }
$Count++
}
[int]$Elapsed = $StopWatch.TotalSeconds
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ cloned $Count Git repositories at 📂$ParentDir in $Elapsed sec."
exit 0
} catch {