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: rel macro on windows inserting backslashes #815

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

j-lanson
Copy link
Collaborator

Resolves #814 .

Macro #rel() replaces paths, but the logic uses to_string_lossy() which uses backslashes on windows, which upsets the KDL parser.

@j-lanson j-lanson added type: bug Something isn't working product: hc Relates to the core "hc" binary labels Jan 21, 2025
@j-lanson j-lanson requested a review from ninaagrawal January 21, 2025 20:49
@j-lanson j-lanson self-assigned this Jan 21, 2025
@j-lanson j-lanson requested a review from mchernicoff January 22, 2025 13:55
@mchernicoff mchernicoff merged commit b35bf4c into main Jan 22, 2025
10 checks passed
ninaagrawal

This comment was marked as duplicate.

Copy link
Contributor

@ninaagrawal ninaagrawal left a comment

Choose a reason for hiding this comment

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

looks good, am trying to approve merge request

@j-lanson
Copy link
Collaborator Author

looks good, am trying to approve merge request

The request was already approved and merged by Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: hc Relates to the core "hc" binary type: bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Policy KDL parsing fails on Windows
3 participants