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: use toml_edit to construct inline tables with correct escaping #134

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

eopb
Copy link
Owner

@eopb eopb commented Sep 13, 2024

fixes #87

@eopb eopb force-pushed the push-otyluskrtmms branch from c1a60c4 to dabacaf Compare September 13, 2024 19:37
let path = path
.as_os_str()
.to_str()
.expect("path must be utf8 unicode");
Copy link
Owner Author

Choose a reason for hiding this comment

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

It's not great panicking here, but it's still better than what we had before

@eopb eopb force-pushed the push-otyluskrtmms branch from dabacaf to 3b28cf8 Compare September 13, 2024 19:41
@eopb eopb marked this pull request as ready for review September 13, 2024 19:46
@eopb eopb merged commit 7edfff3 into main Sep 13, 2024
12 checks passed
@eopb eopb deleted the push-otyluskrtmms branch September 13, 2024 21:22
@github-actions github-actions bot mentioned this pull request Sep 13, 2024
@eopb eopb mentioned this pull request Sep 14, 2024
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.

Escape paths when adding them to toml
1 participant