Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
seydx committed Jun 27, 2021
1 parent 08a5aeb commit fdb414e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/accessories/router/router.handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Handler {

state = response.NewConnectionStatus === 'Connected';

if (accessory.context.restart){
if (accessory.context.restart) {
accessory.context.restart = false;

if (accessory.context.config.master && accessory.context.config.reboot.off) {
Expand Down Expand Up @@ -166,7 +166,7 @@ class Handler {
logger.debug(response, `${accessory.displayName} (${subtype})`);

state = response.NewEnable === '1';

if (accessory.context.restart) {
accessory.context.restart = false;
}
Expand Down

0 comments on commit fdb414e

Please sign in to comment.