Skip to content

Commit

Permalink
fix lint for app-init.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDDDanica authored Jun 30, 2023
1 parent 53dd782 commit f494add
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/scripts/app-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ function importAllScripts() {
loadFile('./globalthis.js');
loadFile('./sentry-install.js');

const isWorker = !self.document
if (!isWorker) { // process.env.ENABLE_MV3 ?
// eslint-disable-next-line no-undef
const isWorker = !self.document;
if (!isWorker) {
// process.env.ENABLE_MV3 ?
loadFile('./snow.js');
}

Expand Down

0 comments on commit f494add

Please sign in to comment.