chore(cloudcmd) lint

This commit is contained in:
coderaiser 2022-02-19 15:37:28 +02:00
parent 69c8eecaf1
commit 3ba6d4ae53
7 changed files with 10 additions and 20 deletions

View file

@ -253,12 +253,7 @@ function getAttribute(type) {
}
module.exports._getSize = getSize;
function getSize(file) {
const {
size,
type,
} = file;
function getSize({size, type}) {
if (type === 'directory')
return '<dir>';