Skip to content

Commit

Permalink
Add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
leveneg committed Feb 7, 2018
1 parent 2febdb3 commit d13532e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MMM-NetworkScanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Module.register("MMM-NetworkScanner", {

if (this.config.showOffline) {
var networkDevicesByMac = getKeyedObject(this.networkDevices, 'macAddress');
var payloadDevicesByMac = getKeyedObject(nextState, 'macAddress')
var payloadDevicesByMac = getKeyedObject(nextState, 'macAddress');

nextState = this.config.devices.map(device => {
var oldDeviceState = networkDevicesByMac[device.macAddress];
Expand All @@ -96,7 +96,7 @@ Module.register("MMM-NetworkScanner", {
: null;
var isStale = (sinceLastSeen >= this.config.keepAlive);

newDeviceState.online = (sinceLastSeen != null) && (!isStale)
newDeviceState.online = (sinceLastSeen != null) && (!isStale);

return newDeviceState;
});
Expand Down

0 comments on commit d13532e

Please sign in to comment.