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

Merge 4.2.x into 5.0.x #123

Merged
merged 8 commits into from
Jan 16, 2025
Merged

Merge 4.2.x into 5.0.x #123

merged 8 commits into from
Jan 16, 2025

Conversation

matrei
Copy link
Contributor

@matrei matrei commented Jan 16, 2025

No description provided.

matrei added 8 commits January 2, 2025 15:01
This resolves an issue on Windows when using the file from `container.copyFileToContainer()` with the Geb FileInput module.
`macos-latest` does not seem to have container support.
`windows-latest` does not seem to provide a container environment.
- Use `replace(char, char)` instead of `replaceAll(String, String)` to avoid the overhead of regex pattern compilation.
- Replace hardcoded string literals with `File.separatorChar`, ensuring the `replace` operation is a no-op on non-Windows hosts where no substitution is needed.
Cross-Platform Geb FileInput module support
@matrei matrei requested a review from jdaugherty January 16, 2025 12:17
@matrei matrei merged commit 54b16a8 into 5.0.x Jan 16, 2025
5 checks passed
@matrei matrei deleted the merge-4.2.x-into-5.0.x branch January 16, 2025 12:45
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