From 165c8d2558828516a449c75edf3116f7dbc8c07c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Apr 2017 21:52:49 +0200 Subject: [PATCH] Fix travis lint tests --- client/src/app/app.component.ts | 4 ++-- scripts/test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 14870bb5f..a6eb4cd2e 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -60,14 +60,14 @@ export class AppComponent implements OnInit { md: 10, sm: 9, xs: 9 - } + }; // Take all width is the menu is not displayed if (this.isMenuDisplayed === false) { Object.keys(colSizes).forEach(col => colSizes[col] = 12); } - const classes = [ "main-col" ]; + const classes = [ 'main-col' ]; Object.keys(colSizes).forEach(col => classes.push(`col-${col}-${colSizes[col]}`)); return classes; diff --git a/scripts/test.sh b/scripts/test.sh index 93dbd8200..b341fc0d0 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,8 +1,8 @@ #!/usr/bin/env sh cd client || exit -1 -npm test +npm test || exit -1 cd .. || exit -1 -standard +standard || exit -1 mocha server/tests -- 2.25.1