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

aicommits hides the output of husky #250

Open
1 task
kud opened this issue Sep 19, 2023 · 1 comment
Open
1 task

aicommits hides the output of husky #250

kud opened this issue Sep 19, 2023 · 1 comment
Labels
bug Something isn't working pending triage

Comments

@kud
Copy link

kud commented Sep 19, 2023

Bug description

We are using https://typicode.github.io/husky/ at work to prettierify the files and eslintifier as well. Tho, when I use aicommits , husky rendering is hidden (probably any command between the beginning and the end of aicommits).

Could be great not to break the output.

aicommits version

1.11.0

Environment

System:
    OS: macOS 13.5.2
    CPU: (10) arm64 Apple M1 Pro
    Memory: 86.50 MB / 16.00 GB
    Shell: 5.9 - /opt/homebrew/bin/zsh
  Binaries:
    Node: 16.14.2 - ~/Library/Caches/fnm_multishells/10540_1695116455281/bin/node
    Yarn: 1.22.11 - ~/Projects/_kud/_theorchard/graphql-knowledge/node_modules/.bin/yarn
    npm: 10.0.0 - ~/Library/Caches/fnm_multishells/10540_1695116455281/bin/npm
    pnpm: 7.22.0 - ~/Library/Caches/fnm_multishells/10540_1695116455281/bin/pnpm
    Watchman: 2023.09.04.00 - /opt/homebrew/bin/watchman

Can you contribute a fix?

  • I’m interested in opening a pull request for this issue.
@kud kud added bug Something isn't working pending triage labels Sep 19, 2023
@Keshavdulal
Copy link

Can confirm the same. No husky output in our project as well.
Infact in our case it's completely bypassing husky's pre-commit hooks that lints and prettifies the staged files.

For example, In the snapshot below, you can see how a file violating an eslint rule is committed, bypassing husky's checks.
Screen Shot 2023-09-25 at 4 51 11 PM

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

No branches or pull requests

2 participants