Skip to content

[FIX] Prevent npm config from reading UI5 CLI args - #883

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

[FIX] Prevent npm config from reading UI5 CLI args#883
matz3 merged 1 commit into
v4from
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.

Down-ported from: UI5/cli#1535

@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
@matz3
matz3 requested a review from a team August 21, 2026 14:29

@codeworrior codeworrior left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matz3
matz3 merged commit a575e4a into v4 Aug 21, 2026
22 checks passed
@matz3
matz3 deleted the fix/npm-config-process-args branch August 21, 2026 14:35
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