bin: lint using putout

This commit is contained in:
coderaiser
2020-10-25 01:13:40 +03:00
parent 782797ca11
commit 99b1a7a49b
5 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ if (fs.existsSync(addonsPath)) {
// walk all addon folders
fs.readdir(addonsPath, (err, files) => {
files.forEach(folder => {
for (const folder of files) {
const addonPath = path.join(addonsPath, folder);
// install only if there are dependencies listed
@@ -51,6 +51,6 @@ if (fs.existsSync(addonsPath)) {
} else {
console.log('Skipped', folder);
}
});
}
});
}