Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix linter error introduced by fix for 4183
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhirsch committed May 4, 2018
1 parent 236e16d commit 9d3b632
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/webextension/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ this.main = (function() {
});
return;
}
return toggleSelector(tab)
// No need to catch() here because of watchPromise().
// eslint-disable-next-line promise/catch-or-return
toggleSelector(tab)
.then(() => sendEvent("start-shot", "context-menu", {incognito: tab.incognito}));
}));
});
Expand Down

0 comments on commit 9d3b632

Please sign in to comment.