Use let instead of var.

This commit is contained in:
László Monda
2017-01-15 02:24:08 +01:00
parent bdb9c85031
commit d6d8144bc3

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env node
let uhk = require('./uhk');
var arg = process.argv[2] || '';
let arg = process.argv[2] || '';
if (arg.length === 0) {
console.log('Gotta specify a string to be written to the EEPROM as the argument of this script');