1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-03 09:03:13 +00:00

Fix glob processing in npm. Ban single param parens (#257)

This commit is contained in:
Matt Gibson
2021-02-04 09:49:23 -06:00
committed by GitHub
parent a16d8f7de7
commit 58f40b0085
98 changed files with 275 additions and 271 deletions

View File

@@ -32,7 +32,7 @@ export class LoginView implements View {
}
get canLaunch(): boolean {
return this.hasUris && this.uris.some((u) => u.canLaunch);
return this.hasUris && this.uris.some(u => u.canLaunch);
}
get hasTotp(): boolean {
@@ -41,7 +41,7 @@ export class LoginView implements View {
get launchUri(): string {
if (this.hasUris) {
const uri = this.uris.find((u) => u.canLaunch);
const uri = this.uris.find(u => u.canLaunch);
if (uri != null) {
return uri.launchUri;
}