diff --git a/lib/registry.js b/lib/registry.js index 9bcaee7..03b36b6 100644 --- a/lib/registry.js +++ b/lib/registry.js @@ -1,6 +1,6 @@ // Note: registry-js internally has a `process.platform === 'win32'` check so it // won't load its native addon on other platforms (good) -import registry from 'registry-js' +import * as registry from 'registry-js' const HKEY = registry.HKEY const SHORT_HIVES = new Map([