chore(cloudcmd) lint: convert forEach to for-of

This commit is contained in:
coderaiser 2019-06-25 20:12:34 +03:00
parent 6d69cd3a48
commit fd6d384ba2
9 changed files with 25 additions and 24 deletions

View file

@ -62,7 +62,7 @@ module.exports = (params) => {
checkPlugins(plugins);
keys.forEach((name) => {
for (const name of keys) {
let value = options[name];
if (/root/.test(name))
@ -75,7 +75,7 @@ module.exports = (params) => {
value = prefixer(value);
config(name, value);
});
}
config('console', defaultValue(config, 'console', options));
config('configDialog', defaultValue(config, 'configDialog', options));