Skip to content

Commit

Permalink
fix(logs): disabling the advanced terminal behavior when TERM is dumb
Browse files Browse the repository at this point in the history
- ref Lerna issue [#2932](lerna/lerna#2932)
  • Loading branch information
ghiscoding committed Feb 11, 2022
1 parent 0aaba0d commit 9994130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/command.ts
Original file line number Diff line number Diff line change
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 9994130

Please sign in to comment.