From 08cfdffd9af666725d9b26643ec5e9a887520176 Mon Sep 17 00:00:00 2001 From: meriadec Date: Thu, 5 Mar 2015 19:13:17 +0100 Subject: [PATCH] style(core): lint fixes --- app/index.js | 2 +- route/index.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/index.js b/app/index.js index f3d1bb5..6b294c2 100644 --- a/app/index.js +++ b/app/index.js @@ -113,7 +113,7 @@ var BangularGenerator = yeoman.generators.Base.extend({ self.filters.sockets = props.sockets; self.filters.auth = props.auth; if (props.auth) { - self.filters['ngCookies'] = true; + self.filters.ngCookies = true; } done(); }); diff --git a/route/index.js b/route/index.js index ec84fca..79e7780 100644 --- a/route/index.js +++ b/route/index.js @@ -55,12 +55,12 @@ var BangularGenerator = yeoman.generators.NamedBase.extend({ file: 'client/styles/app.scss', append: '@import "../views/' + this.dashName + '/' + this.dashName + '";' }, function importCallback (err) { - /* istanbul ignore if */ - if (err) { - bangLog('There was an error importing the style.', 'red'); - } else { - bangLog('Your style was successfully injected.', 'green'); - } + /* istanbul ignore if */ + if (err) { + bangLog('There was an error importing the style.', 'red'); + } else { + bangLog('Your style was successfully injected.', 'green'); + } }); }