Skip to content

Commit a9323c9

Browse files
authoredJan 2, 2024
Fix compatibility with xterm (#61)
1 parent baaea6c commit a9323c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function eslintFormatterPretty(results, data) {
103103

104104
let output = '\n';
105105

106-
if (process.stdout.isTTY && !process.env.CI) {
106+
if (process.stdout.isTTY && !process.env.CI && process.env.TERM_PROGRAM === 'iTerm.app') {
107107
// Make relative paths Command-clickable in iTerm
108108
output += ansiEscapes.iTerm.setCwd();
109109
}

0 commit comments

Comments
 (0)
Please sign in to comment.