Skip to content

Commit

Permalink
feat: hide .nvm folders
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jan 3, 2018
1 parent 9afce88 commit 9a7c4b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"eslint": "^4.2.0",
"eslint-config-mailonline": "^9.0.0",
"husky": "^0.14.3",
"jest": "^22.0.0",
"jest": "22.0.4",
"jest-cli": "22.0.4",
"mol-conventional-changelog": "^1.2.0",
"semantic-release": "^8.2.0"
},
Expand All @@ -38,10 +39,13 @@
"index.js"
],
"reporters": [
["./", {
"logLevel": "INFO",
"showInternalStackTraces": false
}]
[
"./",
{
"logLevel": "INFO",
"showInternalStackTraces": false
}
]
],
"testRegex": "(test|src)\\/.+\\.(test|spec)\\.jsx?$"
},
Expand Down
2 changes: 1 addition & 1 deletion src/LineWriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const formatStatsBar = require('./format/formatStatsBar');
const formatFailureMessageTraceLine = require('./format/formatFailureMessageTraceLine');

const REG_TRACE_LINE = /\s*(.+)\((.+):([0-9]+):([0-9]+)\)$/;
const REG_INTERNALS = /^(node_modules|internal)\//;
const REG_INTERNALS = /^(node_modules|internal|(\.\.\/)*\.nvm)\//;
const REG_AT_PATH = /^\s*at (\/[^:]+):([0-9]+):([0-9]+)\s*$/;
const REG_AT = /^\s*at/;
const REG_ERROR = /^\s*Error:\s*/;
Expand Down

0 comments on commit 9a7c4b4

Please sign in to comment.