Bug 1577116 - Fix linting error; rs=me DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 23 Oct 2019 17:48:56 +1300
changeset 36462 50552bcfa51fec058603ddbbc78e163fd4743deb
parent 36461 8b383d1c31cfed3a6b775239c518ae593cd593ad
child 36463 58c9543097ad8385bc9368df76b29094a8e6dca5
push id2534
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:52:51 +0000
treeherdercomm-beta@055c50840778 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1577116
Bug 1577116 - Fix linting error; rs=me DONTBUILD
mailnews/addrbook/jsaddrbook/AddrBookCard.jsm
--- a/mailnews/addrbook/jsaddrbook/AddrBookCard.jsm
+++ b/mailnews/addrbook/jsaddrbook/AddrBookCard.jsm
@@ -223,19 +223,19 @@ AddrBookCard.prototype = {
     }
     if (this._properties.get("SecondEmail") == emailAddress) {
       return true;
     }
     return false;
   },
   translateTo(type) {
     // Get nsAbCardProperty to do the work, the code is in C++ anyway.
-    let cardCopy = Cc[
-      "@mozilla.org/addressbook/cardproperty;1"
-    ].createInstance(Ci.nsIAbCard);
+    let cardCopy = Cc["@mozilla.org/addressbook/cardproperty;1"].createInstance(
+      Ci.nsIAbCard
+    );
     cardCopy.copy(this);
     return cardCopy.translateTo(type);
   },
   generatePhoneticName(lastNameFirst) {
     if (lastNameFirst) {
       return `${this.lastName}, ${this.firstName}`;
     }
     return `${this.firstName} ${this.lastName}`;