Skip to content

Fix dirlist#511

Merged
mcollina merged 3 commits intofastify:mainfrom
jessekrubin:main
Mar 27, 2025
Merged

Fix dirlist#511
mcollina merged 3 commits intofastify:mainfrom
jessekrubin:main

Conversation

@jessekrubin
Copy link
Copy Markdown
Contributor

Fixes #497

Checklist

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

@jessekrubin
Copy link
Copy Markdown
Contributor Author

jessekrubin commented Feb 28, 2025

Hi @mcollina I really am not sure how to write a test for this (maybe I am being dumb (feeling tired today))...

Any guidance? How do you watch that the already-sent-error is not triggered?

@gurgunday gurgunday requested a review from climba03003 March 1, 2025 17:28
@gurgunday
Copy link
Copy Markdown
Member

I'll take a look but @climba03003 if you have some time, I'd appreciate a review :)

@mcollina
Copy link
Copy Markdown
Member

mcollina commented Mar 2, 2025

I think that the already sent error is showed in logs, so you can install a "fake" log stream, collect all lines, then analize them.

Copy link
Copy Markdown
Member

@climba03003 climba03003 left a comment

Choose a reason for hiding this comment

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

Good catch.

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit 91278e6 into fastify:main Mar 27, 2025
11 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.

dir-list already sent with trailing slash

4 participants