Fix prettier offence in local-dates plugin

Fix prettier offence in local-dates plugin

diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6 b/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6
index e7432f9..e50d735 100644
--- a/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6
+++ b/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6
@@ -221,22 +221,24 @@
       timezones.unshift(options.timezone);
     }
 
-    timezones.filter(z => z).forEach(timezone => {
-      if (_isEqualZones(timezone, displayedTimezone)) {
-        return;
-      }
+    timezones
+      .filter(z => z)
+      .forEach(timezone => {
+        if (_isEqualZones(timezone, displayedTimezone)) {
+          return;
+        }
 
-      if (_isEqualZones(timezone, watchingUserTimezone)) {
-        timezone = watchingUserTimezone;
-      }
+        if (_isEqualZones(timezone, watchingUserTimezone)) {
+          timezone = watchingUserTimezone;
+        }
 
-      previewedTimezones.push({
-        timezone,
-        dateTime: options.time
-          ? dateTime.tz(timezone).format("LLL")
-          : _createDateTimeRange(dateTime, timezone)
+        previewedTimezones.push({
+          timezone,
+          dateTime: options.time
+            ? dateTime.tz(timezone).format("LLL")
+            : _createDateTimeRange(dateTime, timezone)
+        });
       });
-    });
 
     if (!previewedTimezones.length) {
       previewedTimezones.push({

GitHub sha: 78730062

1 Like