Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fmt): --ext flag requires to pass files #26525

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

bartlomieju
Copy link
Member

To avoid situations like described in #26402
using deno fmt with --ext flag now requires to explicitly specify list of files (or
globs) to format.

Closes #26402

Copy link
Member

@dsherret dsherret 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 ea64189 into denoland:main Oct 24, 2024
17 checks passed
@bartlomieju bartlomieju deleted the deno_fmt_ext branch October 24, 2024 19:22
bartlomieju added a commit that referenced this pull request Oct 25, 2024
To avoid situations like described in
#26402
using `deno fmt` with `--ext` flag now requires to explicitly specify
list of files (or globs) to format.

Closes #26402
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.

Running deno fmt --ext html without a filename reformats every file
2 participants