Skip to content

Commit 55a5be8

Browse files
committed
fix: remove nodeDebugFlags references
Remove all references to nodeDebugFlags which was deleted in a previous commit. The function was buggy and returned debug flags without required argument values. Removed from: - src/constants.mts (import and re-export) - src/shadow/npm/install.mts (import and usage) - src/shadow/npm/install.test.mts (import)
1 parent 4b816c8 commit 55a5be8

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

packages/cli/src/constants.mts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ import {
227227
getZshRcPath,
228228
homePath,
229229
instrumentWithSentryPath,
230-
nodeDebugFlags,
231230
nodeHardenFlags,
232231
nodeNoWarningsFlags,
233232
REQUIREMENTS_TXT,
@@ -427,7 +426,6 @@ export {
427426
LOOP_SENTINEL,
428427
NODE_ENV,
429428
NODE_MODULES,
430-
nodeDebugFlags,
431429
nodeHardenFlags,
432430
nodeNoWarningsFlags,
433431
NODE_OPTIONS,
@@ -672,7 +670,6 @@ export default {
672670
isSentryBuild,
673671
LOOP_SENTINEL,
674672
NODE_MODULES,
675-
nodeDebugFlags,
676673
nodeHardenFlags,
677674
nodeNoWarningsFlags,
678675
NPM,

packages/cli/src/shadow/npm/install.mts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import ENV, { processEnv } from '../../constants/env.mts'
1414
import {
1515
execPath,
1616
instrumentWithSentryPath,
17-
nodeDebugFlags,
1817
nodeHardenFlags,
1918
nodeNoWarningsFlags,
2019
shadowNpmInjectPath,
@@ -78,7 +77,6 @@ export function shadowNpmInstall(
7877
execPath,
7978
[
8079
...nodeNoWarningsFlags,
81-
...nodeDebugFlags,
8280
...nodeHardenFlags,
8381
// Memory flags commented out.
8482
// ...constants.nodeMemoryFlags,

0 commit comments

Comments
 (0)