grunt-file-creator
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "grunt-file-creator", | ||
"description": "Creates/writes to files from Javascript functions in the grunt config (useful for config files, etc).", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/travis-hilterbrand/grunt-file-creator", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -70,5 +70,3 @@ /* | ||
// create path (if needed) | ||
var dir = filepath.split(path.sep); | ||
dir.pop(); | ||
dir = path.join.apply(undefined, dir); | ||
var dir = path.dirname(filepath); | ||
if (!fs.existsSync(dir)) { | ||
@@ -75,0 +73,0 @@ fs.mkdirSync(dir, '0777', true); |
14934
254