Bug 1593280 - Follow-up: Fix linting. rs=white-space-only a=jorgk
authorJorg K <jorgk@jorgk.com>
Wed, 06 Nov 2019 10:25:13 +0100
changeset 36383 db4ef1385165f1b87148d1bc467a14d0e1c543cb
parent 36382 a67b00fab3979f9442ff788d2c4c531499beb57d
child 36384 7f1d0247bd5b2355133aa8d9b18bdb539873e39a
push id2521
push usermozilla@jorgk.com
push dateWed, 06 Nov 2019 09:31:04 +0000
treeherdercomm-beta@308f336efa3e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhite-space-only, jorgk
bugs1593280
Bug 1593280 - Follow-up: Fix linting. rs=white-space-only a=jorgk
mail/base/content/mailWidgets.js
--- a/mail/base/content/mailWidgets.js
+++ b/mail/base/content/mailWidgets.js
@@ -1600,17 +1600,21 @@
         item.setAttribute("image32", base + "attachment-deleted-large.png");
       } else {
         let iconName = attachment.name;
         if (iconName.toLowerCase().endsWith(".eml")) {
           // Discard message names derived from crazy subject headers.
           iconName = "message.eml";
         } else if (attachment.url) {
           let url = Services.io.newURI(attachment.url);
-          if (url instanceof Ci.nsIURL && url.fileName && !url.schemeIs("file")) {
+          if (
+            url instanceof Ci.nsIURL &&
+            url.fileName &&
+            !url.schemeIs("file")
+          ) {
             iconName = url.fileName;
           }
         }
         item.setAttribute(
           "image16",
           "moz-icon://" +
             iconName +
             "?size=16&contentType=" +