Hey everyone,
it seems like I'm not able to push updates of my code because SourceTree is giving me syntax errors although the code is working without any problems.
E.g.:
ERROR: /src/app/app-routing.module.ts[16, 17]: trailing whitespace
ERROR: /src/app/app.module.ts[84, 14]: Missing trailing comma
ERROR: /src/app/app.module.ts[21, 53]: comment must start with a space
Lint errors found in the listed files.
> husky - pre-push hook failed (add --no-verify to bypass)
> husky - to debug, use 'npm run prepush'
Completed with errors, see above
If you have any advice/help I'd be really thankful.
Kind regards
Hi
It looks like you have a git 'pre-push' hook configured and that is blocking the push.
https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.