Skip to content

Commit 23ad2ec

Browse files
committed
Change iterm escape code
1 parent 32a1e55 commit 23ad2ec

40 files changed

Lines changed: 77 additions & 77 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ module.exports = function(results) {
245245
}
246246

247247
if (process.env.FORCE_ITERM_HINT === 'true' || (process.stdout.isTTY && !process.env.CI)) {
248-
output = '\u001B]50;CurrentDir=' + process.cwd() + '\u0007' + output;
248+
output = '\u001B]1337;CurrentDir=' + process.cwd() + '\u0007' + output;
249249
}
250250

251251
return total > 0 ? output : '';

test/absolute-paths-no-gray/basic/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
⚠ http://eslint.org/docs/rules/no-unused-vars path is defined but never used
33
/home/usr/roy/index.js:8:2
44
path = require( 'path' ),

test/absolute-paths-no-gray/fatal/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
✘ http://eslint.org/docs/rules/ Unexpected token {
33
/home/usr/roy/index.js:3:13
44

test/absolute-paths-no-gray/missing-line-column/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
⚠ http://eslint.org/docs/rules/ path is defined but never used
33
/home/usr/roy/index.js:0:0
44
path = require( 'path' ),

test/absolute-paths-no-gray/missing-messages/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
✘ http://eslint.org/docs/rules/curly Expected { after 'if' condition
33
/home/usr/roy/test/runner.js:41:2
44
if ( err ) console.log( 'failed tests: ' + err );

test/absolute-paths-no-gray/missing-rule-id/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
⚠ http://eslint.org/docs/rules/ path is defined but never used
33
/home/usr/roy/index.js:8:2
44
path = require( 'path' ),

test/absolute-paths-no-gray/single-error/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
⚠ http://eslint.org/docs/rules/no-unused-vars path is defined but never used
33
/home/usr/roy/index.js:8:2
44
path = require( 'path' ),

test/absolute-paths/basic/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
⚠ http://eslint.org/docs/rules/no-unused-vars path is defined but never used
33
/home/usr/roy/index.js:8:2
44
 path = require( 'path' ),

test/absolute-paths/fatal/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
✘ http://eslint.org/docs/rules/ Unexpected token {
33
/home/usr/roy/index.js:3:13
44

test/absolute-paths/missing-line-column/results.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
]50;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
1+
]1337;CurrentDir=/Users/roy/royws/eslint-friendly-formatter
22
⚠ http://eslint.org/docs/rules/ path is defined but never used
33
/home/usr/roy/index.js:0:0
44
 path = require( 'path' ),

0 commit comments

Comments
 (0)