Skip to content

Commit

Permalink
Fix stopwatch total seconds count
Browse files Browse the repository at this point in the history
  • Loading branch information
countzero committed Feb 13, 2019
1 parent 87c3c4d commit 2585a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup_github_repositories.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,5 @@ ForEach ($repository in $repositories) {
}

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

0 comments on commit 2585a4c

Please sign in to comment.