Bug 1577116 - Fix linting error; rs=me DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 23 Oct 2019 17:48:56 +1300
changeset 37335 50552bcfa51fec058603ddbbc78e163fd4743deb
parent 37334 8b383d1c31cfed3a6b775239c518ae593cd593ad
child 37336 58c9543097ad8385bc9368df76b29094a8e6dca5
push id396
push userclokep@gmail.com
push dateMon, 06 Jan 2020 23:11:57 +0000
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}`;