Skip to content

Commit

Permalink
fix: Update require statement from @cypress/registry-js to `reg… (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane committed Mar 23, 2020
1 parent 398c112 commit bbec282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registry.js
Expand Up @@ -7,15 +7,15 @@ let registry

try {
// @ts-ignore
registry = require('@cypress/registry-js')
registry = require('registry-js')
} catch (err) {
if (os.platform() === 'win32') {
debug(
'Could not load native extension for Windows registry access. The most likely reason is that your Node version has changed since installing. Try re-installing get-windows-proxy.'
)
} else {
debug(
'Skipping loading @cypress/registry-js because your platform is not win32.'
'Skipping loading registry-js because your platform is not win32.'
)

registry = {
Expand Down

0 comments on commit bbec282

Please sign in to comment.