Getting error on making commit under FAQ section of community handbook

Screenshot:

@Saurabh100ni you might have some extensions like prettier installed to format the code causing this. To fix the pre-commit hook failing the commit, you need to have exact same indentations and spacing at the particular lines of code as indicated in the error messages.

Didn’t work @vishalvivekm .

there was some problem with the repository I was working on, but cleaning and cloning again fixed that.

I tried cleaning and cloning the repo again but still it won’t work

fixed it with fix-failing-pre-commit-hook by vishalvivekm · Pull Request #5184 · layer5io/layer5 · GitHub
@Ankush_Bhardwaj Please syncing your local repo to the upstream now. will you please let me know this fixes it for you now?

1 Like