mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +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:
@@ -65,7 +65,7 @@ export class DeleteCommand {
|
||||
return Response.error('No attachments available for this item.');
|
||||
}
|
||||
|
||||
const attachments = cipher.attachments.filter((a) => a.id.toLowerCase() === id);
|
||||
const attachments = cipher.attachments.filter(a => a.id.toLowerCase() === id);
|
||||
if (attachments.length === 0) {
|
||||
return Response.error('Attachment `' + id + '` was not found.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user