Skip to content

Commit ae6456e

Browse files
jhen0409zalmoxisus
authored andcommitted
Fix chrome.storage.local.remove mock for Electron (#256)
1 parent 677cffc commit ae6456e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/extension/chromeAPIMock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if (window.isElectron) {
6161
},
6262
// Electron ~ 1.4.6
6363
remove(items, callback) {
64-
if (!Array.isArray(items)) {
64+
if (Array.isArray(items)) {
6565
items.forEach(name => {
6666
localStorage.removeItem(name);
6767
});

0 commit comments

Comments
 (0)