Skip to content

Commit 0690533

Browse files
committed
Comment nit
1 parent a4ff39c commit 0690533

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/constants.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,8 @@ const lazyNpmCachePath = () => {
543543
const {
544544
spawnSync,
545545
} = /*@__PURE__*/ require('@socketsecurity/registry/lib/spawn')
546-
// Lazily access constants.npmExecPath.
547546
return spawnSync(
547+
// Lazily access constants.npmExecPath.
548548
constants.npmExecPath,
549549
['config', 'get', 'cache'],
550550
getNpmStdioPipeOptions(),
@@ -555,8 +555,8 @@ const lazyNpmGlobalPrefix = () => {
555555
const {
556556
spawnSync,
557557
} = /*@__PURE__*/ require('@socketsecurity/registry/lib/spawn')
558-
// Lazily access constants.npmExecPath.
559558
return spawnSync(
559+
// Lazily access constants.npmExecPath.
560560
constants.npmExecPath,
561561
['prefix', '-g'],
562562
getNpmStdioPipeOptions(),

0 commit comments

Comments
 (0)