Bug 1488973 - Followup for eslint failure. CLOSED TREE
authorCsoregi Natalia <ncsoregi@mozilla.com>
Wed, 24 Oct 2018 21:56:27 +0300
changeset 491187 fa86045075416389c2d59efad35226b6d8d56561
parent 491186 a1f419870e136b8838471fde0d1094f2942fa20a
child 491188 73cfb79f183ac786b56dd97e63e969642ed0919f
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
bugs1488973
milestone65.0a1
Bug 1488973 - Followup for eslint failure. CLOSED TREE
intl/l10n/L10nRegistry.jsm
--- a/intl/l10n/L10nRegistry.jsm
+++ b/intl/l10n/L10nRegistry.jsm
@@ -1,10 +1,11 @@
 const { AppConstants } = ChromeUtils.import("resource://gre/modules/AppConstants.jsm", {});
 const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm", {});
+// eslint-disable-next-line mozilla/use-services
 const appinfo = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime);
 const { FluentBundle, FluentResource } = ChromeUtils.import("resource://gre/modules/Fluent.jsm", {});
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 XPCOMUtils.defineLazyGlobalGetters(this, ["fetch"]);
 
 const isParentProcess = appinfo.processType === appinfo.PROCESS_TYPE_DEFAULT;
 /**
  * L10nRegistry is a localization resource management system for Gecko.