Fix travis lint tests

pull/71/head
Chocobozzz 2017-04-26 21:52:49 +02:00
parent d61e81538b
commit 165c8d2558
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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