From 6e65c636069189bdbe5d5a7ebb82f247df680b6e Mon Sep 17 00:00:00 2001 From: NGPixel Date: Tue, 18 Oct 2016 00:56:19 -0400 Subject: [PATCH] Code style fix (3) --- libs/uploads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/uploads.js b/libs/uploads.js index 2a27067b..a9e20b0b 100644 --- a/libs/uploads.js +++ b/libs/uploads.js @@ -159,7 +159,7 @@ module.exports = { if(err.code === 'EBUSY' && attempt < 5) { return Promise.delay(100).then(() => { return self.deleteUploadsFileTry(f, attempt + 1); - }) + }); } else { winston.warn('Unable to delete uploads file ' + f.filename + '. File is locked by another process and multiple attempts failed.'); return true;