Skip to content

husky.sh file generated by husky-init contains error #1319

@Minozzzi

Description

@Minozzzi

Troubleshoot

If you're migrating from husky 4, see:
https://typicode.github.io/husky/migrating-from-v4.html

Context
Please describe your issue and provide some context:

  • Terminal or GUI client (PowerShell, Git Bash, GitHub Desktop, ...)

    • zsh terminal
  • If applicable, content of the failing hook

    • image
  • If possible, minimal steps to reproduce the issue

    • Perform the initial configuration of the husky according to the documentation
      • pnpm dlx husky-init && pnpm install
      • pnpm dlx husky add .husky/commit-msg 'pnpm commitlint --edit "$1"'
Husky version is 8.0.0

I would love to contribute to this task, but I will need to contextualize myself with the code, so it may take a while. And also check if this really is an error

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions