Skip to content

[labs/analyzer] Enforce POSIX path separators (#4890) #4902

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

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

Conversation

ClaudioHoffmann
Copy link

Fixes #4890.

Using the regular `path` module would add backslashes to constructed paths on
Windows.
Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: 0b3514f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@lit-labs/analyzer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

google-cla bot commented Jan 21, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@justinfagnani
Copy link
Collaborator

@ClaudioHoffmann thanks a lot!

We'll need the Google CLA signed to proceed.

@justinfagnani justinfagnani self-requested a review January 21, 2025 22:12
@justinfagnani
Copy link
Collaborator

It would be really great to have a test here to make sure we don't regress. I'm surprised we didn't have a failing test on Windows already. We only run a subset of test on Windows runners, so many we didn't run an existing test that would cover this.

@ClaudioHoffmann ClaudioHoffmann marked this pull request as draft January 23, 2025 16:06
@ClaudioHoffmann
Copy link
Author

Signed the CLA, and will add a test later.

@justinfagnani
Copy link
Collaborator

@ClaudioHoffmann are you still planning on adding a test?

@ClaudioHoffmann
Copy link
Author

Doesn't look like it, we're short on budget and this test framework is too multi-layered and sluggish for me to figure out within that.

@justinfagnani
Copy link
Collaborator

@ClaudioHoffmann fair enough. Thanks for the initial PR! I'll try to add a test and merge soon.

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.

[labs/analyzer] Generating wrappers on Windows leaves backslashes in import paths
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy