Skip to content

Commit

Permalink
optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Feb 4, 2024
1 parent 12911af commit 2c8a92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/js/background/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -2384,7 +2384,7 @@ export class Backend {
searchResolution
}
} = options;
const textPreprocessorsOptions = options.languages[language].textPreprocessors || {};
const textPreprocessorsOptions = options.languages[language]?.textPreprocessors || {};
const textReplacements = this._getTranslatorTextReplacements(textReplacementsOptions);
let excludeDictionaryDefinitions = null;
if (mode === 'merge' && !enabledDictionaryMap.has(mainDictionary)) {
Expand Down

0 comments on commit 2c8a92a

Please sign in to comment.