1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

Remove null check in ElectronStorageService.Save (#464)

This commit is contained in:
Thomas Rittson 2021-08-23 19:33:03 +10:00 committed by GitHub
parent aa81f8fb96
commit add4b2f3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,9 +46,6 @@ export class ElectronStorageService implements StorageService {
}
save(key: string, obj: any): Promise<any> {
if (obj == null) {
return Promise.resolve();
}
if (obj instanceof Set) {
obj = Array.from(obj);
}