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(release): ensure default release group has projects on windows #27933

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

AgentEnder
Copy link
Member

Current Behavior

Currently when we read the package.json for each project, we check if it exists based on a comparison of known files in the project... The known files are represented as unix, but we are comparing based off of a path.join(...) call. This returns win32 paths on windows, so the comparison is always falsy

Expected Behavior

We normalize the path when comparing with the filemap

Related Issue(s)

Fixes #

Currently when we read the package.json for each project, we check if it exists based on a
comparison of known files in the project... The known files are represented as unix, but we are
comparing based off of a `path.join(...)` call. This returns win32 paths on windows, so the
comparison is always falsy
@AgentEnder AgentEnder requested a review from a team as a code owner September 16, 2024 16:17
Copy link

vercel bot commented Sep 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Sep 16, 2024 4:20pm

@JamesHenry JamesHenry removed the request for review from xiongemi September 16, 2024 16:21
@JamesHenry JamesHenry enabled auto-merge (squash) September 16, 2024 16:21
@JamesHenry JamesHenry merged commit 581f2fd into master Sep 16, 2024
6 checks passed
@JamesHenry JamesHenry deleted the fix/release-default-package-group-windows branch September 16, 2024 16:59
FrozenPandaz pushed a commit that referenced this pull request Sep 18, 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.

2 participants