File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
365365
366366if ( ! nativeBinding && process . env . SKIP_UNRS_RESOLVER_FALLBACK !== '1' ) {
367367 try {
368- nativeBinding = require ( 'napi-postinstall/fallback' ) ( require . resolve ( '.. /package.json' ) , true )
368+ nativeBinding = require ( 'napi-postinstall/fallback' ) ( require . resolve ( './package.json' ) , true )
369369 } catch ( err ) {
370370 loadErrors . push ( err )
371371 }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ data = data.replace(
1010 `
1111if (!nativeBinding && process.env.SKIP_UNRS_RESOLVER_FALLBACK !== '1') {
1212 try {
13- nativeBinding = require('napi-postinstall/fallback')(require.resolve('.. /package.json'), true)
13+ nativeBinding = require('napi-postinstall/fallback')(require.resolve('./package.json'), true)
1414 } catch (err) {
1515 loadErrors.push(err)
1616 }
You can’t perform that action at this time.
0 commit comments