Merge pull request #1593 from PowerShell/ealexjordan/pscolors

Ealexjordan/pscolors
This commit is contained in:
Alex Jordan authored and GitHub committed 2016-08-03 10:37:20 -07:00
commit b1ea06aaef
3 files changed
+12 -26

No files matched your search

+2 -1
View File
@@ -1484,9 +1484,10 @@ function script:Use-MSBuild {
function script:log([string]$message) {
Write-Host -Foreground Green $message
#reset colors for older package to at return to default after error message on a compiliation error
[console]::ResetColor()
}
function script:precheck([string]$command, [string]$missedMessage) {
$c = Get-Command $command -ErrorAction SilentlyContinue
if (-not $c) {