Skip to content

Commit

Permalink
updated - message color include spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Robomikel committed Apr 5, 2023
1 parent 12d63f2 commit 58a9b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/info_messages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Function Send-Mess {
param($message,$info)
$string = $message + '... [ ' + $info + ' ]'
# write-host "`r $string" | trace-word -words 'update'
$string | Select-ColorString "UPDATE | OK | FAILED | WARN | START | DONE | INFO" -MultiColorsForSimplePattern -CaseSensitive
$string | Select-ColorString " UPDATE | OK | FAILED | WARN | START | DONE | INFO " -MultiColorsForSimplePattern -CaseSensitive
}

function Select-ColorString {
Expand Down

0 comments on commit 58a9b42

Please sign in to comment.