Skip to content

Commit

Permalink
Merge pull request #13 from ghiscoding/bugfix/dumb-terminal
Browse files Browse the repository at this point in the history
fix(logs): disabling the advanced terminal behavior when TERM is dumb
  • Loading branch information
ghiscoding committed Feb 11, 2022
2 parents eee9641 + 9994130 commit fa71be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/command.ts
Expand Up @@ -152,7 +152,7 @@ export class Command {
let progress;

/* istanbul ignore next */
if (ci || !process.stderr.isTTY) {
if (ci || !process.stderr.isTTY || process.env.TERM === 'dumb') {
log.disableColor();
progress = false;
} else if (!process.stdout.isTTY) {
Expand Down

0 comments on commit fa71be0

Please sign in to comment.