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

Ensure the data dir uses platform specific path separators #586

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

c00ler
Copy link
Contributor

@c00ler c00ler commented Feb 18, 2025

Hi!

While working with the scalac-options in our plugin, I noticed that sbt-scoverage uses a fixed path separator for the value of scoverage:dataDir parameter. It introduces the need to have an additional normalization logic, that might be problematic in some cases. This patch changes the way how scoverage:dataDir and -coverage-out are created to ensure that the resulting path uses platform-specific path separators.

Copy link
Member

@ckipp01 ckipp01 left a comment

Choose a reason for hiding this comment

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

This looks fine, thanks @c00ler!

@ckipp01 ckipp01 merged commit 445e87f into scoverage:main Feb 20, 2025
3 checks passed
@c00ler c00ler deleted the avenderov/data-dir-path branch February 21, 2025 09:02
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