DEV: Prettier

DEV: Prettier

diff --git a/manager-client/app/models/repo.js b/manager-client/app/models/repo.js
index 1e25b33..7fbcaa5 100644
--- a/manager-client/app/models/repo.js
+++ b/manager-client/app/models/repo.js
@@ -62,15 +62,17 @@ const Repo = EmberObject.extend({
       }
 
       this.set("checking", true);
-      this.repoAjax(Discourse.getAppURL("/admin/docker/latest")).then(result => {
-        this.setProperties({
-          unloaded: false,
-          checking: false,
-          lastCheckedAt: new Date().getTime(),
-          latest: EmberObject.create(result.latest)
-        });
-        resolve();
-      });
+      this.repoAjax(Discourse.getAppURL("/admin/docker/latest")).then(
+        result => {
+          this.setProperties({
+            unloaded: false,
+            checking: false,
+            lastCheckedAt: new Date().getTime(),
+            latest: EmberObject.create(result.latest)
+          });
+          resolve();
+        }
+      );
     });
   },
 
diff --git a/manager-client/config/environment.js b/manager-client/config/environment.js
index adb9d92..bd14e73 100644
--- a/manager-client/config/environment.js
+++ b/manager-client/config/environment.js
@@ -2,10 +2,10 @@
 
 module.exports = function(environment) {
   var ENV = {
-    modulePrefix: 'manager-client',
+    modulePrefix: "manager-client",
     environment: environment,
-    rootURL: '/',
-    locationType: 'hash',
+    rootURL: "/",
+    locationType: "hash",
     EmberENV: {
       FEATURES: {
         // Here you can enable experimental features on an ember canary build
@@ -23,7 +23,7 @@ module.exports = function(environment) {
     }
   };
 
-  if (environment === 'development') {
+  if (environment === "development") {
     // ENV.APP.LOG_RESOLVER = true;
     // ENV.APP.LOG_ACTIVE_GENERATION = true;
     // ENV.APP.LOG_TRANSITIONS = true;
@@ -31,20 +31,19 @@ module.exports = function(environment) {
     // ENV.APP.LOG_VIEW_LOOKUPS = true;
   }
 
-  if (environment === 'test') {
+  if (environment === "test") {
     // Testem prefers this...
-    ENV.locationType = 'none';
+    ENV.locationType = "none";
 
     // keep test console output quieter
     ENV.APP.LOG_ACTIVE_GENERATION = false;
     ENV.APP.LOG_VIEW_LOOKUPS = false;
 
-    ENV.APP.rootElement = '#ember-testing';
+    ENV.APP.rootElement = "#ember-testing";
     ENV.APP.autoboot = false;
   }
 
-  if (environment === 'production') {
-
+  if (environment === "production") {
   }
 
   return ENV;
diff --git a/manager-client/ember-cli-build.js b/manager-client/ember-cli-build.js
index a8f754a..f4c9756 100644
--- a/manager-client/ember-cli-build.js
+++ b/manager-client/ember-cli-build.js
@@ -1,7 +1,6 @@
 /*jshint node:true*/
 /* global require, module */
-var EmberApp = require('ember-cli/lib/broccoli/ember-app');
-
+var EmberApp = require("ember-cli/lib/broccoli/ember-app");
 
 module.exports = function(defaults) {
   var app = new EmberApp(defaults, {
diff --git a/manager-client/testem.js b/manager-client/testem.js
index 26044b2..b11c170 100644
--- a/manager-client/testem.js
+++ b/manager-client/testem.js
@@ -1,13 +1,8 @@
 /*jshint node:true*/
 module.exports = {
-  "framework": "qunit",
-  "test_page": "tests/index.html?hidepassed",
-  "disable_watching": true,
-  "launch_in_ci": [
-    "PhantomJS"
-  ],
-  "launch_in_dev": [
-    "PhantomJS",
-    "Chrome"
-  ]
+  framework: "qunit",
+  test_page: "tests/index.html?hidepassed",
+  disable_watching: true,
+  launch_in_ci: ["PhantomJS"],
+  launch_in_dev: ["PhantomJS", "Chrome"]
 };

GitHub sha: f627eacb

1 Like