Skip to content

Commit

Permalink
coloredOutput is true by default
Browse files Browse the repository at this point in the history
This way by default error messages will be showed in red, as before
  • Loading branch information
whut committed Aug 5, 2011
1 parent cc2a34f commit 6d2583c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion psake-config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $config.framework = "3.5";
$config.taskNameFormat="Executing {0}";
$config.exitCode="1";
$config.verboseError=$true;
$config.coloredOutput = $false;
$config.coloredOutput = $true;
$config.modules=(new-object psobject -property @{ autoload=$false })
-------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion psake.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ $psake.config_default = new-object psobject -property @{
taskNameFormat = "Executing {0}";
exitCode = "1";
verboseError = $false;
coloredOutput = $false;
coloredOutput = $true;
modules = (new-object PSObject -property @{
autoload = $false
})
Expand Down
2 changes: 1 addition & 1 deletion specs/writing_psake_variables_should_pass.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ task Verify -description "This task verifies psake's variables" {
Assert ($config.taskNameFormat -eq "Executing {0}") '$psake.context.peek().config.taskNameFormat not equal to "Executing {0}"'
Assert ($config.exitCode -eq "1") '$psake.context.peek().config.ExitCode not equal to "1"'
Assert (!$config.verboseError) '$psake.context.peek().config.verboseError should be $false'
Assert (!$config.coloredOutput) '$psake.context.peek().config.coloredOutput should be $false'
Assert ($config.coloredOutput) '$psake.context.peek().config.coloredOutput should be $false'
Assert ($config.modules) '$psake.context.peek().config.modules is $null'
}

0 comments on commit 6d2583c

Please sign in to comment.