Write using template string, not object

This commit is contained in:
mmcwilliams 2017-08-30 08:59:27 -04:00
parent c87d425c57
commit a0729ff9d9
1 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,7 @@ class Intval {
if (err) {
console.error(err)
}
console.log(`Release switch val: ${val}`)
}
setDir (val = true) {
if (typeof val !== 'boolean') {
@ -106,7 +107,7 @@ class Intval {
let len = (+new Date()) - this._state.frame.start
console.log(`Frame stopped`, { ms : len })
console.log(`Frame stopped ${len}ms`)
this._pin.micro.unwatch()
this._state.frame.active = false