Bug 1365709 - Fix linter bustage. r=kmag
authorZibi Braniecki <zbraniecki@mozilla.com>
Mon, 04 Sep 2017 16:32:23 -0700
changeset 428297 f6fb12ee2f5a00b54b0af0208f73f4e96696f45c
parent 428296 b5cbf8e3f77628c9bf9bebdadec422151cd9c01f
child 428298 9638b85c359051c792baab365d4a3b1ad30359a4
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1365709
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1365709 - Fix linter bustage. r=kmag MozReview-Commit-ID: 1pDWdDxOi19
toolkit/components/extensions/Extension.jsm
--- 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;
   }
-}
+};