Bug 1365709 - Fix linter bustage. r=me
MozReview-Commit-ID: 1pDWdDxOi19
--- a/toolkit/components/extensions/Extension.jsm
+++ b/toolkit/components/extensions/Extension.jsm
@@ -1491,17 +1491,17 @@ this.Langpack = class extends ExtensionD
`langpack-${data.manifest.langpack_id}-${productCodeName}`;
const l10nRegistrySources = {};
// Check if there's a root directory `/localization` in the langpack.
// If there is one, add it with the name `toolkit` as a FileSource.
const entries = await this.readDirectory("./localization");
if (entries.length > 0) {
- l10nRegistrySources["toolkit"] = "";
+ l10nRegistrySources.toolkit = "";
}
// Add any additional sources listed in the manifest
if (data.manifest.sources) {
for (const [sourceName, {base_path}] of Object.entries(data.manifest.sources)) {
l10nRegistrySources[sourceName] = base_path;
}
}
@@ -1568,9 +1568,9 @@ this.Langpack = class extends ExtensionD
chromeEntries.push(["locale", alias, language, path[platform]]);
}
}
}
}
return chromeEntries;
}
-}
+};