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: path parsing on Windows (non-unix) #235

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

Conversation

bheston
Copy link

@bheston bheston commented Feb 19, 2024

Fix an issue running analyzer in a monorepo with a reference to custom elements in another package. The find-dependencies package converts the path to Unix format, but then uses path.sep to parse the path. On Windows the separators are not the same so it fails.

I tried to add a test for this case, but that branch needs to read the package.json file which I don't believe can happen in the mocked test environment.

Copy link

netlify bot commented Feb 19, 2024

Deploy Preview for custom-elements-manifest-analyzer ready!

Name Link
🔨 Latest commit 3683e7a
🔍 Latest deploy log https://app.netlify.com/sites/custom-elements-manifest-analyzer/deploys/65d2a172a02f0d00080e6d50
😎 Deploy Preview https://deploy-preview-235--custom-elements-manifest-analyzer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bheston bheston changed the title Fix path parsing on Windows (non-unix) fix: path parsing on Windows (non-unix) Feb 19, 2024
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.

1 participant