Skip to content

fix: allow multiple --allow-all args#31833

Merged
bartlomieju merged 1 commit intodenoland:mainfrom
bartlomieju:double_allow_all_flags
Jan 13, 2026
Merged

fix: allow multiple --allow-all args#31833
bartlomieju merged 1 commit intodenoland:mainfrom
bartlomieju:double_allow_all_flags

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

Currently passing multiple --allow-all (or -A) flags causes a crash, but due to
historic reasons some tools like VSCode, unconditionally added --allow-all argument
when running a debugger. This commit changes flag parsing so that deno accepts
--allow-all multiple times instead of crashing.

Copy link
Copy Markdown
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 06e4a27 into denoland:main Jan 13, 2026
34 of 36 checks passed
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.

3 participants