Skip to content

Commit

Permalink
Merge pull request #9 from joshua-russell/jcr-i0008
Browse files Browse the repository at this point in the history
Revised line 219 - see issue #8
  • Loading branch information
jdhitsolutions authored Oct 7, 2022
2 parents d52bde3 + 1e27930 commit 205c4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSTimerFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Random - randomly cycle through a list of console colors

if ($percentDoneChild -ge 100 -and $percentDone -le 98) {
if ($PSBoundParameters.ContainsKey('ProgressStyle') -AND $PSBoundParameters.Item('ProgressStyle') -eq 'random') {
$host.globalData.progressBackgroundColor = ($progcolors | Get-Random)
$host.privateData.progressBackgroundColor = ($progcolors | Get-Random)
}
$totalSecondsChild = Get-Random -Minimum 4 -Maximum 30
$startTimeChild = $now
Expand Down

0 comments on commit 205c4cd

Please sign in to comment.