Skip to content

Commit bececd4

Browse files
committed
fix
1 parent 2b77235 commit bececd4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

extension/js/common/browser/chrome.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const storageGetAll = async (storageType: ChromeStorageType): Promise<{ [
6969
void handleFatalErr('storage_undefined', new Error('storage is undefined'));
7070
} else {
7171
const storage = chrome.storage[storageType];
72-
storage.get(resolve);
72+
void storage.get(resolve);
7373
}
7474
});
7575
};

extension/js/common/core/crypto/key.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ export class KeyUtil {
526526
if (decodedChunks.length === 0) return false;
527527

528528
const rawData = decodedChunks.join('');
529+
// eslint-disable-next-line @typescript-eslint/no-misused-spread
529530
const dataBytes = new Uint8Array([...rawData].map(c => c.charCodeAt(0)));
530531

531532
return KeyUtil.crc24(dataBytes) === providedCRC;

0 commit comments

Comments
 (0)