From e8975d2d6ce4fc32c376f6f0aa249da95e3cf906 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Thu, 28 Sep 2017 13:49:47 +0800 Subject: [PATCH] feat(torrents): make music cover uploads folder --- gulpfile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 9b368682..f3016ced 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -284,6 +284,11 @@ gulp.task('makeUploadsDir', function () { console.error(err); } }); + fs.mkdir('modules/torrents/client/uploads/cover', function (err) { + if (err && err.code !== 'EEXIST') { + console.error(err); + } + }); return; });