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: check buildPath consistently #1143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcfranco
Copy link

@jcfranco jcfranco commented Mar 29, 2024

Issue #, if available: #1144

Description of changes:

Extracted buildPath-checking logic to its own util and ensure it uses the platform-specific separator.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jcfranco jcfranco requested a review from a team as a code owner March 29, 2024 21:10
@jorenbroekema
Copy link
Collaborator

jorenbroekema commented Apr 1, 2024

Not sure if I can get this into v3, @dbanksdesign this fix and this one are waiting for your approval, might be nice to do another v3 release since v4 is still in prerelease/alpha stage.

I'll make sure to port this fix to v4, it's slightly more nuanced of a fix there since it has to be browser-compatible as well, and in browsers a filesystem shim is used that uses posix separators regardless of whether the user agent is Windows. For v3 this fix is fine though!

@jcfranco
Copy link
Author

@jorenbroekema Thanks for the review!

@dbanksdesign LMK if there's anything else needed from my side to help get this landed for a v3 release. Thanks!

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.

None yet

2 participants