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; });