-
-
Notifications
You must be signed in to change notification settings - Fork 896
Closed
Labels
Description
I have created the following hook called prettier which formats js files.
https://github.com/awebdeveloper/pre-commit-prettier/blob/master/.pre-commit-hooks.yaml
When i try to commit a file (say my-oncogene.js in this case) i get file modified error. What Should i do.
hookid: prettier
Files were modified by this hook. Additional output:
asset/js/my-oncogene.js 41ms
looks like the pre-commit only passes if no file is modified.
I am on newer version of pre-commit 0.13