Apply prefer-const lint rule

This commit is contained in:
Zaid Abdulla committed 2018-08-25 16:14:34 -07:00
1 parent b43088c03c
commit 09e6a360af
26 files changed
+217 -215

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ function setConfig(name, value, commandLineArgument) {
}
let _value = null;
for (let [optionName, optionDetails] of Object.entries(options)) {
for (const [optionName, optionDetails] of Object.entries(options)) {
let n = optionName;
if (commandLineArgument) n = n.toLowerCase().replace(/_/g, "-");