aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@vaadin.com>2016-09-12 13:07:32 +0200
committerManolo Carrasco <manolo@vaadin.com>2016-09-12 13:07:32 +0200
commit65e5ee95d50cf674fa858958eed49e33f3b0cdba (patch)
tree33faca74d6f88e84e1b1d594fa7a23add7e74e51
parent2a1e5f36dd58c108c37673f0d9082006a2e33013 (diff)
downloadvaadin-core-65e5ee95d50cf674fa858958eed49e33f3b0cdba.tar.gz
vaadin-core-65e5ee95d50cf674fa858958eed49e33f3b0cdba.zip
Recursive mkdir
-rw-r--r--tasks/cdn.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js
index d1c1882..a2bb3a7 100644
--- a/tasks/cdn.js
+++ b/tasks/cdn.js
@@ -33,8 +33,8 @@ gulp.task('cdn:stage-bower.json', ['clean:cdn'], function() {
delete bowerJson.masterOverrides;
}
- fs.mkdirSync(stagingBasePath);
- fs.mkdirSync(stagingPath);
+ fs.mkdirsSync(stagingBasePath);
+ fs.mkdirsSync(stagingPath);
fs.writeFileSync(stagingPath + '/bower.json', JSON.stringify(bowerJson, null, ' '));
});