Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update require statement from @cypress/registry-js to `reg… #2

Merged
merged 1 commit into from Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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