Skip to content

Produce empty output for empty paths list under -c #56

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

web-sst
Copy link

@web-sst web-sst commented Mar 28, 2025

The earlier version printed only the end tag when paths was an empty list. This version does so only if paths is non-empty. A new test verifies the behavior.

The earlier version printed only the end tag </documents>.
This version does so only if paths is non-empty.
A new test verifies the behavior.
@web-sst web-sst changed the title Produce empty output for null input under -c Produce empty output for empty paths list under -c Apr 10, 2025
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.

1 participant