Repository navigation
Windows-fix: use path instead of / for handling paths - #1754
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3fcd07f:
|
gvc
marked this pull request as ready for review
May 12, 2023 13:29
gvc
requested review from
lariciamota and
lucasfp13
and removed request for
a team
May 12, 2023 13:29
/ for handling paths/ for handling paths
eduardoformiga
approved these changes
May 12, 2023
eduardoformiga
left a comment
Member
There was a problem hiding this comment.
LGTM! ✨
I Noticed that we aren't using the path in other functions (import and others from fs-extra) that use the directories, looks like it wasn't need.
ArthurTriis1
approved these changes
May 18, 2023
ArthurTriis1
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! But i couldn't test in a windows PC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's the purpose of this pull request?
To ensure that our starter works on Windows computers.
How it works?
I've had to do two different things. One was to use the
pathlibrary to manipulate filenames and paths, instead of directly using/. The other was to explicitly add the node_modules to the SASS load path, so our library can useHow to test it?
Find a windows machine, fork the starter, use this PR's version of faststore/core and faststore/cli and run it. It should work just fine.
You can use the starter PR and test de scripts locally as mentioned in starter PR.
Starters Deploy Preview
vtex-sites/starter.store#56
References
NA