Bug 1357517 - Fix max-len eslint rule breakage in marionette.js. r=me
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Sun, 30 Jul 2017 21:12:36 +0200
changeset 420665 6025b5b43ec638821540a4199be4c10e2160f6e3
parent 420664 3362528e5e2524be4fce4bb8cf3496bb01fe2e82
child 420666 7930c297d6c3b266abe910d07719d1cbade291b8
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1357517
milestone56.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 1357517 - Fix max-len eslint rule breakage in marionette.js. r=me
testing/marionette/components/marionette.js
--- a/testing/marionette/components/marionette.js
+++ b/testing/marionette/components/marionette.js
@@ -87,17 +87,18 @@ function getPrefVal(pref) {
       prefValue = Services.prefs.getIntPref(pref);
       break;
 
     case PREF_INVALID:
       prefValue = undefined;
       break;
 
     default:
-      throw new TypeError(`Unexpected preference type (${prefType}) for ${pref}`);
+      throw new TypeError(`Unexpected preference type (${prefType}) for ` +
+                          `${pref}`);
   }
 
   return prefValue;
 }
 
 // Get preference value of |preferred|, falling back to |fallback|
 // if |preferred| is not user-modified and |fallback| exists.
 function getPref(preferred, fallback) {