Skip to content

Commit 0d1082c

Browse files
author
e2tha-e
committed
restricting pattern assembly to correct file types
1 parent e18a80d commit 0d1082c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

builder/pattern_assembler.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@
101101
return;
102102
}
103103

104+
//can ignore all non-mustache files at this point
105+
if(ext !== '.mustache'){
106+
return;
107+
}
108+
104109
//see if this file has a state
105110
setState(currentPattern, patternlab);
106111

0 commit comments

Comments
 (0)