From a0729ff9d9d81512df3dffebeedef3ae40e4bb46 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 30 Aug 2017 08:59:27 -0400 Subject: [PATCH] Write using template string, not object --- lib/intval/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/intval/index.js b/lib/intval/index.js index 4ea39a4..8c7c6e1 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -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