diff options
author | Florrie <towerofnix@gmail.com> | 2018-05-31 00:00:45 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-05-31 00:00:45 -0300 |
commit | f2676294c95695e2de3a7fb88eafae76d6827618 (patch) | |
tree | df80695b3e35bda8e40f5dccc7f21fb8875e7f76 /util/CommandLineInterfacer.js | |
parent | 553bbf486e043f206bb8f2c92c943fd688f8fedc (diff) |
Let-const nitpicks
Diffstat (limited to 'util/CommandLineInterfacer.js')
-rw-r--r-- | util/CommandLineInterfacer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/CommandLineInterfacer.js b/util/CommandLineInterfacer.js index 3f9d208..743ff5c 100644 --- a/util/CommandLineInterfacer.js +++ b/util/CommandLineInterfacer.js @@ -63,7 +63,7 @@ module.exports = class CommandLineInterfacer extends EventEmitter { const options = [] let curOption = '' let commandCode = null - for (let val of buffer.slice(2)) { + for (const val of buffer.slice(2)) { if (48 <= val && val <= 57) { // 0124356789 curOption = curOption.concat(val - 48) } else { |