templatizer
Advanced tools
Comparing version 0.2.9 to 0.2.10
{ | ||
"name": "templatizer", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -45,3 +45,3 @@ var jade = require('jade'); | ||
contents.forEach(function (file) { | ||
var item = file.replace(path.normalize(templateDirectory), '').slice(1); | ||
var item = file.replace(path.resolve(templateDirectory), '').slice(1); | ||
if (path.extname(item) === '' && path.basename(item).charAt(0) !== '.') { | ||
@@ -48,0 +48,0 @@ if (folders.indexOf(item) === -1) folders.push(item); |
137598