Make tslint happy

This commit is contained in:
turt2live 2017-08-27 19:12:47 -06:00
parent 0abc937fd2
commit 91f6bfa7f9
2 changed files with 3 additions and 6 deletions

View File

@ -16,10 +16,7 @@
"spaces"
],
"label-position": true,
"max-line-length": [
true,
140
],
"max-line-length": false,
"member-access": false,
"member-ordering": [
true,

View File

@ -56,12 +56,12 @@ export class TravisCiConfigComponent implements ModalComponent<ConfigModalContex
public editTemplate(repoKey: string) {
this.toggleTemplate(repoKey);
var repoConfig = this.integration.repoTemplates.find(r => r.repoKey == repoKey);
let repoConfig = this.integration.repoTemplates.find(r => r.repoKey === repoKey);
repoConfig.newTemplate = repoConfig.template;
}
public saveTemplate(repoKey: string) {
var repoConfig = this.integration.repoTemplates.find(r => r.repoKey == repoKey);
let repoConfig = this.integration.repoTemplates.find(r => r.repoKey === repoKey);
repoConfig.template = repoConfig.newTemplate;
this.updateTemplates().then(() => this.toggleTemplate(repoKey));
}