Skip to content

Commit

Permalink
Remove now moot VSCode check (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbergman authored and sindresorhus committed Apr 17, 2018
1 parent bf4d4c6 commit 65088b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.js
Expand Up @@ -48,10 +48,6 @@ function supportsColor(stream) {
}

if (stream && !stream.isTTY && forceColor !== true) {
// VS code debugger doesn't have isTTY set
if (env.VSCODE_PID) {
return 1;
}
return 0;
}

Expand Down

0 comments on commit 65088b2

Please sign in to comment.