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: wrong project folder detection #57

Merged
merged 1 commit into from
Mar 11, 2024
Merged

fix: wrong project folder detection #57

merged 1 commit into from
Mar 11, 2024

Conversation

marvinhagemeister
Copy link
Collaborator

@marvinhagemeister marvinhagemeister commented Mar 11, 2024

This PR fixes an issue where we didn't detect the project directory properly when jsr was executing inside a subfolder of an existing project. In our upwards traversal function we checked for the lockfile first and bailed out if we found one. This means the code that sets the project directory was never executed if a lockfile had already been found.

Fixes #56

@marvinhagemeister marvinhagemeister merged commit 20d5f1e into main Mar 11, 2024
5 checks passed
@marvinhagemeister marvinhagemeister deleted the npmrc-loc branch March 11, 2024 10:11
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.

Package installation error caused by parent directory package.json
2 participants