Fix tslint check
This commit is contained in:
parent
1553e15d82
commit
2e2bef6f58
3 changed files with 4 additions and 5 deletions
|
@ -27,9 +27,8 @@ export class UserLoginComponent {
|
||||||
error => {
|
error => {
|
||||||
if (error.error === 'invalid_grant') {
|
if (error.error === 'invalid_grant') {
|
||||||
alert('Credentials are invalid.');
|
alert('Credentials are invalid.');
|
||||||
}
|
} else {
|
||||||
else {
|
alert(`${error.error}: ${error.error_description}`);
|
||||||
alert(`${error.error}: ${error.error_description}`)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -38,7 +38,7 @@ export class VideosListComponent implements OnInit {
|
||||||
getVideos() {
|
getVideos() {
|
||||||
let observable = null;
|
let observable = null;
|
||||||
|
|
||||||
if (this.search !== null) {""
|
if (this.search !== null) {
|
||||||
observable = this._videosService.searchVideos(this.search);
|
observable = this._videosService.searchVideos(this.search);
|
||||||
} else {
|
} else {
|
||||||
observable = this._videosService.getVideos();
|
observable = this._videosService.getVideos();
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"typings": "typings",
|
"typings": "typings",
|
||||||
"postinstall": "typings install",
|
"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",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue