Skip to content

fix: don't panic on non-UTF-8 names in json output - #652

Open
hesaratha wants to merge 1 commit into
bootandy:masterfrom
hesaratha:fix-json-non-utf8-names
Open

hesaratha wants to merge 1 commit into
bootandy:masterfrom
hesaratha:fix-json-non-utf8-names

Conversation

@hesaratha

Copy link
Copy Markdown

serde refuses to serialize a PathBuf that isn't valid UTF-8 so -j crashes when encountering such file paths. The fix renders such paths with to_string_lossy().

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