fix: color success message in github actions

This commit is contained in:
Amin Yahyaabadi 2022-04-18 03:25:01 -07:00
parent cf18d3eb4f
commit 4ff35803b1
3 changed files with 3 additions and 3 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ export function error(err: string | Error) {
}
export function success(msg: string) {
return isGitHubCI() ? core.info(msg) : console.log(`\x1b[32m${msg}\x1b[0m`)
return console.log(`\x1b[32m${msg}\x1b[0m`)
}
export function warning(msg: string) {