mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Merge pull request #1593 from PowerShell/ealexjordan/pscolors
Ealexjordan/pscolors
This commit is contained in:
commit
b1ea06aaef
3 files changed
+12
-26
No files matched your search
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user