Permalink
Browse files

Fix ignoration

  • Loading branch information...
1 parent 685bd3c commit 87725153975720f970781cf6010a72588a53b2a9 @pvorb committed Feb 17, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 bake.js
View
@@ -44,10 +44,11 @@ var bake = function(conf, hooks, cb) {
// Matching variable
var match;
+ var pathFromRoot = master.replace(inputDir, '').substr(1);
// Match the master-file's name against enabled file extensions
- if (ignore.indexOf(master) == -1
- && (match = master.match(fileExtPattern))) {
+ if ((match = master.match(fileExtPattern))
+ && ignore.indexOf(pathFromRoot) == -1) {
// Get the file extension of the master file
var masterExt = match[1];

0 comments on commit 8772515

Please sign in to comment.