Skip to content

Commit

Permalink
Use of Cyan foreground color, instead of Blue to make it more visible…
Browse files Browse the repository at this point in the history
… on darker consoles

Cyan is also commonly recommended, for example in http://blogs.msdn.com/b/abhinaba/archive/2006/01/05/509581.aspx
  • Loading branch information
whut committed Nov 4, 2011
1 parent e17c6dd commit 9d8903c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psake.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Invoke-Task
$precondition_is_valid = & $task.Precondition

if (!$precondition_is_valid) {
Write-ColoredOutput ($msgs.precondition_was_false -f $taskName) -foregroundcolor Blue
Write-ColoredOutput ($msgs.precondition_was_false -f $taskName) -foregroundcolor Cyan
} else {
if ($taskKey -ne 'default') {
$stopwatch = [System.Diagnostics.Stopwatch]::StartNew()
Expand All @@ -78,7 +78,7 @@ function Invoke-Task
if ($currentContext.config.taskNameFormat -is [ScriptBlock]) {
& $currentContext.config.taskNameFormat $taskName
} else {
Write-ColoredOutput ($currentContext.config.taskNameFormat -f $taskName) -foregroundcolor Blue
Write-ColoredOutput ($currentContext.config.taskNameFormat -f $taskName) -foregroundcolor Cyan
}

foreach ($variable in $task.requiredVariables) {
Expand Down

0 comments on commit 9d8903c

Please sign in to comment.