Skip to content

Commit

Permalink
Revert "Fix linter error introduced by fix for 4183 (mozilla-services…
Browse files Browse the repository at this point in the history
…#4393)"

This reverts commit a529729.
  • Loading branch information
Moritz Brunner committed Jun 7, 2018
1 parent a3e28df commit 0165385
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions addon/webextension/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ this.main = (function() {
});
return;
}
// No need to catch() here because of watchPromise().
// eslint-disable-next-line promise/catch-or-return
toggleSelector(tab)
return toggleSelector(tab)
.then(() => sendEvent("start-shot", "context-menu", {incognito: tab.incognito}));
}));
});
Expand Down

0 comments on commit 0165385

Please sign in to comment.