Bug 1217129 - ESLint fix r=me
authorWes Kocher <wkocher@mozilla.com>
Wed, 20 Jan 2016 12:08:56 -0800
changeset 280696 bc225865b5e26e77ee247988054e7a60d5bde08e
parent 280695 55dd1f2654bdf945bdb9300abaac4c0b4ac0abd3
child 280697 69c213447aeefd9b1a464d94fa3a37807978becc
push id17125
push userkwierso@gmail.com
push dateWed, 20 Jan 2016 20:09:00 +0000
treeherderfx-team@bc225865b5e2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1217129
milestone46.0a1
Bug 1217129 - ESLint fix r=me
toolkit/components/extensions/ExtensionUtils.jsm
--- a/toolkit/components/extensions/ExtensionUtils.jsm
+++ b/toolkit/components/extensions/ExtensionUtils.jsm
@@ -13,17 +13,17 @@ const Cr = Components.results;
 
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 Cu.import("resource://gre/modules/Services.jsm");
 
 XPCOMUtils.defineLazyModuleGetter(this, "Locale",
                                   "resource://gre/modules/Locale.jsm");
 
 function filterStack(error) {
-  return String(error.stack).replace(/(^.*(Task\.jsm|Promise-backend\.js).*\n)+/gm, "<Promise Chain>\n")
+  return String(error.stack).replace(/(^.*(Task\.jsm|Promise-backend\.js).*\n)+/gm, "<Promise Chain>\n");
 }
 
 // Run a function and report exceptions.
 function runSafeSyncWithoutClone(f, ...args) {
   try {
     return f(...args);
   } catch (e) {
     dump(`Extension error: ${e} ${e.fileName} ${e.lineNumber}\n[[Exception stack\n${filterStack(e)}Current stack\n${filterStack(Error())}]]\n`);