Skip to content

Commit daf13e5

Browse files
authored
Fix registry.js import (#89)
Category: fix
1 parent 561a926 commit daf13e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Note: registry-js internally has a `process.platform === 'win32'` check so it
22
// won't load its native addon on other platforms (good)
3-
import registry from 'registry-js'
3+
import * as registry from 'registry-js'
44

55
const HKEY = registry.HKEY
66
const SHORT_HIVES = new Map([

0 commit comments

Comments
 (0)