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

New husky script use npx when they should use yarn #24286

Closed
neatchee opened this issue Mar 27, 2023 · 0 comments · Fixed by #24287
Closed

New husky script use npx when they should use yarn #24286

neatchee opened this issue Mar 27, 2023 · 0 comments · Fixed by #24287
Labels
bug Something isn't working

Comments

@neatchee
Copy link

Steps to reproduce the problem

  1. Sync latest
  2. Try to make a commit that fails linting

Expected behaviour

lint-staged succeeds

Actual behaviour

lint-staged fails with error "Command failed without output (ENOENT)"

Detailed description

We are using 'npx lint-staged' in the husky script, but dependencies are managed by yarn
We need to use 'yarn lint-staged' instead

Specifications

mastodon/main @ commit 0d70dee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant