Skip to content

Commit

Permalink
Fix a bug that the reg is error in line 141.
Browse files Browse the repository at this point in the history
Fix a bug that the reg is error in line 141.  #31
  • Loading branch information
imfly committed Aug 24, 2019
1 parent 7a144aa commit fa0a86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/summary/index.js
Expand Up @@ -138,7 +138,7 @@ function filterRules(n, key) {
var result = null;

// Ignore hidden files, for example `.git`
if (/^[\.]|'_book'|'node_modules'/.test(key)) {
if (/^[\.]\w*|_book|node_modules/.test(key)) {
ignores.push(key);
}

Expand Down

0 comments on commit fa0a86b

Please sign in to comment.