When trying to create a commit, the following error occurs:
> janus-idp.io@0.0.0 lint-staged
> lint-staged
✔ Preparing lint-staged...
⚠ Running tasks for staged files...
❯ package.json — 1 file
❯ * — 1 file
✖ turbo run prettier:fix -- [KILLED]
❯ *.{js,jsx,ts,tsx,mjs,cjs} — 1 file
✖ turbo run lint:fix -- [FAILED]
↓ Skipped because of errors from tasks.
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...
✖ turbo run lint:fix --:
ERROR run failed: error preparing engine: Could not find the following tasks in project: lint:fix
Turbo error: error preparing engine: Could not find the following tasks in project: lint:fix
✖ turbo run prettier:fix --:
• Packages in scope: //, docusaurus-plugin-tailwind, eslint-config-custom, tsconfig, ui, website
• Running prettier:fix in 6 packages
• Remote caching disabled
//:prettier:fix: cache bypass, force executing 0263fb2fa2ae5114
husky - pre-commit hook exited with code 1 (error)
Expected Behavior
The commit is created without error.
What are the steps to reproduce this bug?
Create a commit with a modification for a file that is one of the following types ({js,jsx,ts,tsx,mjs,cjs})
Describe the bug
When trying to create a commit, the following error occurs:
Expected Behavior
The commit is created without error.
What are the steps to reproduce this bug?