aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-04-26 21:52:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-04-26 21:52:49 +0200
commit165c8d2558828516a449c75edf3116f7dbc8c07c (patch)
tree4abe534631e1f458474625b5e52af806f18615dd
parentd61e81538bb67899c23881b6fe921cdee4a3e49a (diff)
downloadPeerTube-165c8d2558828516a449c75edf3116f7dbc8c07c.tar.gz
PeerTube-165c8d2558828516a449c75edf3116f7dbc8c07c.tar.zst
PeerTube-165c8d2558828516a449c75edf3116f7dbc8c07c.zip
Fix travis lint tests
-rw-r--r--client/src/app/app.component.ts4
-rwxr-xr-xscripts/test.sh4
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 {
60 md: 10, 60 md: 10,
61 sm: 9, 61 sm: 9,
62 xs: 9 62 xs: 9
63 } 63 };
64 64
65 // Take all width is the menu is not displayed 65 // Take all width is the menu is not displayed
66 if (this.isMenuDisplayed === false) { 66 if (this.isMenuDisplayed === false) {
67 Object.keys(colSizes).forEach(col => colSizes[col] = 12); 67 Object.keys(colSizes).forEach(col => colSizes[col] = 12);
68 } 68 }
69 69
70 const classes = [ "main-col" ]; 70 const classes = [ 'main-col' ];
71 Object.keys(colSizes).forEach(col => classes.push(`col-${col}-${colSizes[col]}`)); 71 Object.keys(colSizes).forEach(col => classes.push(`col-${col}-${colSizes[col]}`));
72 72
73 return classes; 73 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 @@
1#!/usr/bin/env sh 1#!/usr/bin/env sh
2 2
3cd client || exit -1 3cd client || exit -1
4npm test 4npm test || exit -1
5 5
6cd .. || exit -1 6cd .. || exit -1
7standard 7standard || exit -1
8mocha server/tests 8mocha server/tests