mirror of https://github.com/aminya/setup-cpp
fix: color success message in github actions
This commit is contained in:
parent
cf18d3eb4f
commit
4ff35803b1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue