mirror of https://github.com/Chocobozzz/PeerTube
Fix travis lint tests
parent
d61e81538b
commit
165c8d2558
|
@ -60,14 +60,14 @@ export class AppComponent implements OnInit {
|
||||||
md: 10,
|
md: 10,
|
||||||
sm: 9,
|
sm: 9,
|
||||||
xs: 9
|
xs: 9
|
||||||
}
|
};
|
||||||
|
|
||||||
// Take all width is the menu is not displayed
|
// Take all width is the menu is not displayed
|
||||||
if (this.isMenuDisplayed === false) {
|
if (this.isMenuDisplayed === false) {
|
||||||
Object.keys(colSizes).forEach(col => colSizes[col] = 12);
|
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]}`));
|
Object.keys(colSizes).forEach(col => classes.push(`col-${col}-${colSizes[col]}`));
|
||||||
|
|
||||||
return classes;
|
return classes;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
cd client || exit -1
|
cd client || exit -1
|
||||||
npm test
|
npm test || exit -1
|
||||||
|
|
||||||
cd .. || exit -1
|
cd .. || exit -1
|
||||||
standard
|
standard || exit -1
|
||||||
mocha server/tests
|
mocha server/tests
|
||||||
|
|
Loading…
Reference in New Issue