Skip to content

fix(project): Prevent npm config from reading UI5 CLI args - #1535

Merged
matz3 merged 1 commit into
mainfrom
fix/npm-config-process-args
Aug 21, 2026
Merged

fix(project): Prevent npm config from reading UI5 CLI args#1535
matz3 merged 1 commit into
mainfrom
fix/npm-config-process-args

Conversation

@matz3

@matz3 matz3 commented Aug 21, 2026

Copy link
Copy Markdown
Member

@npmcli/config reads process.argv by default, which contains our own UI5 CLI args rather than npm args. Pass an empty argv array so these are not misinterpreted as npm configuration.

@npmcli/config reads process.argv by default, which contains our own
UI5 CLI args rather than npm args. Pass an empty argv array so these
are not misinterpreted as npm configuration.
@matz3
matz3 requested a review from a team August 21, 2026 13:03
@matz3
matz3 merged commit 3c62f0b into main Aug 21, 2026
78 checks passed
@matz3
matz3 deleted the fix/npm-config-process-args branch August 21, 2026 13:29
matz3 added a commit to SAP/ui5-project that referenced this pull request Aug 21, 2026
@npmcli/config reads process.argv by default, which contains our own
UI5 CLI args rather than npm args. Pass an empty argv array so these
are not misinterpreted as npm configuration.

Down-ported from: UI5/cli#1535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants