1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +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:
Matt Gibson
2021-02-03 22:51:59 -06:00
committed by GitHub
parent 4ae25c5db5
commit 3b91a2c72b
15 changed files with 92 additions and 53 deletions

View File

@@ -50,7 +50,7 @@ export class ImportCommand {
private async list() {
const options = this.importService.getImportOptions().sort((a, b) => {
return a.id < b.id ? -1 : a.id > b.id ? 1 : 0;
}).map((option) => option.id).join('\n');
}).map(option => option.id).join('\n');
const res = new MessageResponse('Supported input formats:', options);
res.raw = options;
return Response.success(res);