Skip to content

Commit 2585a4c

Browse files
committed
Fix stopwatch total seconds count
1 parent 87c3c4d commit 2585a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup_github_repositories.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ ForEach ($repository in $repositories) {
170170
}
171171

172172
$stopwatch.Stop()
173-
$durationInSeconds = $stopwatch.Elapsed.Seconds
173+
$durationInSeconds = $stopwatch.Elapsed.TotalSeconds
174174
Write-Message "Successfully finished the backup in ${durationInSeconds} seconds..."

0 commit comments

Comments
 (0)