Skip to content

Commit 4d0c6d9

Browse files
committed
fix: return empty array for enumerateValues polyfill
1 parent 9efc1ea commit 4d0c6d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/registry.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ try {
1616
)
1717

1818
registry = {
19-
enumerateValues () {},
19+
enumerateValues () {
20+
return []
21+
},
2022
HKEY: {
2123
HKEY_CURRENT_USER: null
2224
}

0 commit comments

Comments
 (0)