1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-14 23:33:36 +00:00

Remove empty catch blocks, and update tslint rule (#513)

This commit is contained in:
Oscar Hinton
2021-10-19 10:32:14 +02:00
committed by GitHub
parent 62011628d0
commit f09fb69882
38 changed files with 228 additions and 85 deletions

View File

@@ -27,7 +27,9 @@ export class AttachmentView implements View {
if (this.size != null) {
return parseInt(this.size, null);
}
} catch { }
} catch {
// Invalid file size.
}
return 0;
}
}

View File

@@ -23,7 +23,9 @@ export class SendFileView implements View {
if (this.size != null) {
return parseInt(this.size, null);
}
} catch { }
} catch {
// Invalid file size.
}
return 0;
}
}