Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
Remove null check in ElectronStorageService.Save (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliykat committed Aug 23, 2021
1 parent 61618d5 commit 5ab0454
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions electron/src/services/electronStorage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5ab0454

Please sign in to comment.