Skip to content

Commit

Permalink
fix: misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Acorn221 committed Dec 9, 2023
1 parent 674d34d commit 039a47a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/background/PeopleHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class PeopleHandler {
}
}

console.error('no match found for url', url);
if (debug) console.error('no match found for url', url);
return undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion src/misc/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import languages from './languages.json';
export const debug = process.env.PLASMO_PUBLIC_DEBUG === 'true';
export const gpt = false;

export const chromeStore = process.env.PLASMO_PUBLIC_PKG_ID === chrome.runtime.id;
export const chromeStore = process.env.PLASMO_PUBLIC_PKG_ID !== chrome.runtime.id;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const findLanguage = (): any => {
Expand Down

0 comments on commit 039a47a

Please sign in to comment.