Skip to content

Fix finding package.json function#55

Merged
MattiasOlla merged 2 commits into
masterfrom
fix/find-package-json
Apr 20, 2026
Merged

Fix finding package.json function#55
MattiasOlla merged 2 commits into
masterfrom
fix/find-package-json

Conversation

@Daghall
Copy link
Copy Markdown
Contributor

@Daghall Daghall commented Apr 17, 2026

The previous version only worked if run from the same folder as the
package.json file, since it sets the directory to check to its parent
before checking if .git is present.

Also simplify and remove redundant things.

The previous version only worked if run from the same folder as the
`package.json` file, since it sets the directory to check to its parent
before checking if `.git` is present.

Also simplify and remove redundant things.
@Daghall Daghall requested a review from a team as a code owner April 17, 2026 15:14
Copy link
Copy Markdown

@drGeoBN drGeoBN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MattiasOlla MattiasOlla merged commit af63fcd into master Apr 20, 2026
9 checks passed
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.

3 participants