You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/index.js
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
constdebug=require('debug')('get-windows-proxy')
2
2
constos=require('os')
3
-
constregistry=require('@cypress/registry-js')
3
+
letregistry
4
+
5
+
try{
6
+
registry=require('@cypress/registry-js')
7
+
}catch(err){
8
+
debug(
9
+
'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.'
0 commit comments