From d608ac71952c6bf097068269215ba5e187b8e4e7 Mon Sep 17 00:00:00 2001 From: themeteorchef Date: Fri, 13 Jan 2017 12:13:33 -0600 Subject: [PATCH] adjust spacing to match eslint rules --- imports/startup/server/fixtures.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/imports/startup/server/fixtures.js b/imports/startup/server/fixtures.js index 50aae9b..57713fe 100644 --- a/imports/startup/server/fixtures.js +++ b/imports/startup/server/fixtures.js @@ -2,15 +2,12 @@ import { Meteor } from 'meteor/meteor'; import { Roles } from 'meteor/alanning:roles'; import { Accounts } from 'meteor/accounts-base'; -/* Create a default admin user but *only in non-production environments!* - * This is to avoid a base app being deployed in production with a known generic admin user - */ -if ( !Meteor.isProduction ) { +if (!Meteor.isProduction) { const users = [{ email: 'admin@admin.com', password: 'password', profile: { - name: {first: 'Carl', last: 'Winslow'}, + name: { first: 'Carl', last: 'Winslow' }, }, roles: ['admin'], }]; -- 2.0.0