tslint: autofix of let -> const (#13033)

This commit is contained in:
Torkel Ödegaard
2018-08-26 17:14:40 +02:00
committed by GitHub
parent 8a99fa269d
commit 9b978b7203
167 changed files with 1077 additions and 1081 deletions

View File

@@ -44,7 +44,7 @@ export class OrgUsersCtrl {
}
onQueryUpdated() {
let regex = new RegExp(this.searchQuery, 'ig');
const regex = new RegExp(this.searchQuery, 'ig');
this.users = _.filter(this.unfiltered, item => {
return regex.test(item.email) || regex.test(item.login);
});