]> source.dussan.org Git - vaadin-core.git/commitdiff
Recursive mkdir
authorManolo Carrasco <manolo@vaadin.com>
Mon, 12 Sep 2016 11:07:32 +0000 (13:07 +0200)
committerManolo Carrasco <manolo@vaadin.com>
Mon, 12 Sep 2016 11:07:32 +0000 (13:07 +0200)
tasks/cdn.js

index d1c18828f76e668d5e809c482dc3f3073b51c95b..a2bb3a70f977a3a006912add627a34028989294c 100644 (file)
@@ -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, '  '));
 });