Skip to content

Commit

Permalink
FIX: make travis happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
royriojas committed May 11, 2017
1 parent 990a3a3 commit 3a431a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ module.exports = function(results) {
}
}

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint": "eslint --format './index.js' index.js test/specs/ -c './configs/eslint.json'",
"lint-fix": "npm run beautify && npm run eslint -- --fix",
"lint": "npm run beautify-check && npm run eslint",
"test": "npm run lint && mocha-runner 'test/specs/**/*.js'",
"test": "FORCE_ITERM_HINT=true npm run lint && mocha-runner 'test/specs/**/*.js'",
"cover": "istanbul cover -x 'test/specs/**/*.js' mocha-runner 'test/specs/**/*.js' html text-summary",
"watch": "npm run cover && watch-spawn -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary",
"check": "npm run beautify-check && npm run eslint",
Expand Down

0 comments on commit 3a431a9

Please sign in to comment.