mirror of
https://github.com/bitwarden/cli
synced 2025-12-16 08:13:21 +00:00
Ban single paren arrow functions (#226)
* Fix glob processing in npm. Ban single param parens * Match typescript linter rules
This commit is contained in:
@@ -20,11 +20,11 @@ export class CipherResponse extends CipherWithIds implements BaseResponse {
|
||||
this.object = 'item';
|
||||
this.build(o);
|
||||
if (o.attachments != null) {
|
||||
this.attachments = o.attachments.map((a) => new AttachmentResponse(a));
|
||||
this.attachments = o.attachments.map(a => new AttachmentResponse(a));
|
||||
}
|
||||
this.revisionDate = o.revisionDate;
|
||||
if (o.passwordHistory != null) {
|
||||
this.passwordHistory = o.passwordHistory.map((h) => new PasswordHistoryResponse(h));
|
||||
this.passwordHistory = o.passwordHistory.map(h => new PasswordHistoryResponse(h));
|
||||
}
|
||||
if (o.type === CipherType.Login && o.login != null) {
|
||||
this.login = new LoginResponse(o.login);
|
||||
|
||||
Reference in New Issue
Block a user