We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ff39c commit 0690533Copy full SHA for 0690533
1 file changed
src/constants.mts
@@ -543,8 +543,8 @@ const lazyNpmCachePath = () => {
543
const {
544
spawnSync,
545
} = /*@__PURE__*/ require('@socketsecurity/registry/lib/spawn')
546
- // Lazily access constants.npmExecPath.
547
return spawnSync(
+ // Lazily access constants.npmExecPath.
548
constants.npmExecPath,
549
['config', 'get', 'cache'],
550
getNpmStdioPipeOptions(),
@@ -555,8 +555,8 @@ const lazyNpmGlobalPrefix = () => {
555
556
557
558
559
560
561
['prefix', '-g'],
562
0 commit comments