Skip to content

Commit

Permalink
refactor: messages coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonos committed Jun 27, 2024
1 parent 4450e8e commit 9f0acbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .assets/provision/update_psresources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ foreach ($mod in $dupedModules) {
Write-Host "`n`e[4m$($mod)`e[24m - $($allVersions.Count) versions of the module found, latest: `e[1mv$latestVersion`e[22m" -ForegroundColor DarkYellow
Write-Host 'uninstalling...'
foreach ($v in $allVersions.Where({ $_.Version -ne $latestVersion })) {
Write-Host "- `e[95mv$($v.Version)`e[0m"
Write-Host "- `e[0;90mv$($v.Version)`e[0m"
Uninstall-PSResource @param -Name $v.Name -Version ($v.Prerelease ? "$($v.Version)-$($v.Prerelease)" : "$($v.Version)") -SkipDependencyCheck
}
}
Expand Down
2 changes: 1 addition & 1 deletion wsl/wsl_setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -555,5 +555,5 @@ process {

end {
Pop-Location
Write-Host "`n<< WSL setup completed >>`n" -ForegroundColor Green
Write-Host "`n`e[1;95m<< WSL setup completed >>`e[0m`n"
}

0 comments on commit 9f0acbb

Please sign in to comment.