From 65e5ee95d50cf674fa858958eed49e33f3b0cdba Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Mon, 12 Sep 2016 13:07:32 +0200 Subject: [PATCH] Recursive mkdir --- tasks/cdn.js | 4 ++-- 1 file 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, ' ')); }); -- 2.39.5