From 9a93be2752ec81ed1f634adbb63aef2d1c5272de Mon Sep 17 00:00:00 2001 From: Vijay A Date: Wed, 19 May 2021 11:28:09 +0530 Subject: Applied linter fixes. --- app/Controllers/Http/ServiceController.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Controllers/Http/ServiceController.js') diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js index a1d26cb..05d093b 100644 --- a/app/Controllers/Http/ServiceController.js +++ b/app/Controllers/Http/ServiceController.js @@ -140,6 +140,7 @@ class ServiceController { let iconId; do { iconId = uuid() + uuid(); + // eslint-disable-next-line no-await-in-loop } while (await fs.exists(path.join(Helpers.tmpPath('uploads'), iconId))); await icon.move(Helpers.tmpPath('uploads'), { -- cgit v1.2.3-54-g00ecf