Make Danger happy by running prettier

Make Danger happy by running prettier
From 0f41770547acdaf0187c97506c3303fa43c7f782 Mon Sep 17 00:00:00 2001
From: Gerhard Schlager <mail@gerhard-schlager.at>
Date: Sat, 8 Dec 2018 02:59:09 +0100
Subject: [PATCH] Make Danger happy by running prettier


diff --git a/app/assets/javascripts/discourse/components/composer-toggles.js.es6 b/app/assets/javascripts/discourse/components/composer-toggles.js.es6
index f618e1c..f1fe514 100644
--- a/app/assets/javascripts/discourse/components/composer-toggles.js.es6
+++ b/app/assets/javascripts/discourse/components/composer-toggles.js.es6
@@ -15,8 +15,8 @@ export default Ember.Component.extend({
     return composeState === "draft"
       ? "composer.open"
       : composeState === "fullscreen"
-      ? "composer.exit_fullscreen"
-      : "composer.enter_fullscreen";
+        ? "composer.exit_fullscreen"
+        : "composer.enter_fullscreen";
   },
 
   @computed("composeState")
@@ -31,7 +31,7 @@ export default Ember.Component.extend({
     return composeState === "draft"
       ? "chevron-up"
       : composeState === "fullscreen"
-      ? "discourse-compress"
-      : "discourse-expand";
+        ? "discourse-compress"
+        : "discourse-expand";
   }
 });

GitHub

Our build didn’t fail (I think it should), but Danger complained in PRs.
cc @pmusaraj

Thanks @gschlager, the indenting there looked odd to me but my prettier version insisted on it…