Skip to content

Conversation

@dmirell
Copy link

@dmirell dmirell commented Jul 9, 2025

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

cmd/gazelle

What does this PR do? Why is it needed?

This patch normalizes Windows paths by replacing backslashes () with forward slashes (/). This modification ensures consistency in path formats across different platforms, which is particularly useful for maintaining compatibility and preventing potential errors in path handling. The change is applied within the go_repository_config_impl function in the internal/go_repository_config.bzl file.

Which issues(s) does this PR fix?

This PR addresses the issue of inconsistent path formats on Windows systems by normalizing paths to use forward slashes (/).

@fmeum
Copy link
Member

fmeum commented Jul 9, 2025

Does this actually fix a bug? Could you provide more details on why this helps?

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.

2 participants