Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 2cca3cb

Browse files
committed
eliminate redundant "is this really a pattern" checking
1 parent eb52998 commit 2cca3cb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

builder/pattern_assembler.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@
125125
console.log('processPatternIterative:', 'filename:', filename);
126126

127127
// skip non-pattern files
128-
//ignore dotfiles and non-variant .json files
129-
if(filename.charAt(0) === '.' || (ext === '.json' && filename.indexOf('~') === -1)){
130-
return;
131-
}
132-
133128
if (!isPatternFile(filename, patternlab)) { return; }
134129
console.log('found pattern', file);
135130

0 commit comments

Comments
 (0)