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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user