Skip to content

Print the names of changed files to close #703 - #739

Merged
mathiasrw merged 5 commits into
mainfrom
fix/703
Oct 21, 2026
Merged

mathiasrw merged 5 commits into
mainfrom
fix/703

Conversation

@mathiasrw

@mathiasrw mathiasrw commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Print the names of affected files to close #703

Also closes #685: --output-match prints named groups like any other group.

What breaks

  • The names of the changed files are printed to stdout, not stderr. With --output or --output-match they go to stderr.
  • --output adds a line break after a file that does not end with one. Use --content-delimiter '' to get the content exactly as it is.
  • Scripts that expect stdout to be empty when files are changed in place.
  • Scripts that read the names from stderr.

# Conflicts:
#	README.md
#	src/cli.ts
#	test/cli/run.sh
#	test/js/replacement-js.test.js
@mathiasrw mathiasrw changed the title Print the names of affected files to close #703 Print the names of changed files to close #703 Oct 21, 2026
@mathiasrw
mathiasrw merged commit d915c17 into main Oct 21, 2026
7 checks passed
@mathiasrw
mathiasrw deleted the fix/703 branch October 21, 2026 16:04
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.

Print the names of affected files --output-match crashes on named groups

1 participant