ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tslint check
Chocobozzz2e2bef6f58cd
diff --git a/client/angular/users/components/login/login.component.ts b/client/angular/users/components/login/login.component.tsindex 35dea4f9bc..cecf5d2fd7 100644--- a/client/angular/users/components/login/login.component.ts+++ b/client/angular/users/components/login/login.component.ts@@ -27,9 +27,8 @@ export class UserLoginComponent {error => {if (error.error === 'invalid_grant') {alert('Credentials are invalid.');- }- else {- alert(`${error.error}: ${error.error_description}`)+ } else {+ alert(`${error.error}: ${error.error_description}`);}});diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.tsindex b9b440d40b..425d2dcfcb 100644--- a/client/angular/videos/components/list/videos-list.component.ts+++ b/client/angular/videos/components/list/videos-list.component.ts@@ -38,7 +38,7 @@ export class VideosListComponent implements OnInit {getVideos() {let observable = null;- if (this.search !== null) {""+ if (this.search !== null) {observable = this._videosService.searchVideos(this.search);} else {observable = this._videosService.getVideos();diff --git a/client/package.json b/client/package.jsonindex 1d1fde71bd..8070881f55 100644--- a/client/package.json+++ b/client/package.json@@ -17,7 +17,7 @@"tsc:w": "tsc -w","typings": "typings","postinstall": "typings install",- "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts"+ "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts angular/**/**/**/*.ts"},"license": "ISC","dependencies": {