Fix tslint errors

This commit is contained in:
Dragory 2020-01-12 12:04:20 +02:00
parent 7f4529ce93
commit 1ae84afb12
2 changed files with 3 additions and 3 deletions

View file

@ -145,7 +145,7 @@ export class GuildSavedMessages extends BaseGuildRepository {
try { try {
await this.messages.insert(data); await this.messages.insert(data);
} catch (e) { } catch (e) {
console.warn(e); console.warn(e); // tslint:disable-line
return; return;
} }

View file

@ -22,9 +22,9 @@ export const AuthStore: Module<AuthState, RootState> = {
await dispatch("setApiKey", storedKey); await dispatch("setApiKey", storedKey);
return; return;
} }
} catch (e) {} } catch (e) {} // tslint:disable-line
console.log("Unable to validate key, removing from localStorage"); console.log("Unable to validate key, removing from localStorage"); // tslint:disable-line
localStorage.removeItem("apiKey"); localStorage.removeItem("apiKey");
} }