Skip to content

Commit

Permalink
restricting pattern assembly to correct file types
Browse files Browse the repository at this point in the history
  • Loading branch information
e2tha-e committed Oct 5, 2015
1 parent e18a80d commit 0d1082c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builder/pattern_assembler.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
return;
}

//can ignore all non-mustache files at this point
if(ext !== '.mustache'){
return;
}

//see if this file has a state
setState(currentPattern, patternlab);

Expand Down

0 comments on commit 0d1082c

Please sign in to comment.