From 9adc0778a986593d3f0180823965679d3d03c32d Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 23 Dec 2021 11:57:08 +0200 Subject: [PATCH] chore(cloudcmd) lint --- client/dom/directory.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/dom/directory.js b/client/dom/directory.js index a04f889b..e9e3d722 100644 --- a/client/dom/directory.js +++ b/client/dom/directory.js @@ -15,9 +15,7 @@ module.exports = (items) => { if (items.length) Images.show('top'); - const entries = Array.from(items).map((item) => { - return item.webkitGetAsEntry(); - }); + const entries = Array.from(items).map((item) => item.webkitGetAsEntry()); const dirPath = getPathWhenRootEmpty(); const path = dirPath