Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
Make sure inDevelopment always ends up exactly true or false after ex…
Browse files Browse the repository at this point in the history
…tension initialization
  • Loading branch information
ianb committed Sep 19, 2019
1 parent 6eeca0e commit 9e1f27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ this.main = (function() {
browser.runtime.onInstalled.addListener(details => {
const manifest = browser.runtime.getManifest();
extensionTemporaryInstall = !!details.temporary;
inDevelopment = details.temporary || manifest.settings.inDevelopment;
inDevelopment = !!(details.temporary || manifest.settings.inDevelopment);
if (details.reason === "install") {
launchOnboarding();
}
Expand Down

0 comments on commit 9e1f27d

Please sign in to comment.