pre-commit passes a list of files according the exclusion and other rules to the script. Currently format-code.sh doesn't respect the list, and creates its own list of files.
This was leading to unwanted files getting formatted, for example, when merging.
pre-commit passes a list of files according the exclusion and other rules to the script. Currently
format-code.sh
doesn't respect the list, and creates its own list of files.This was leading to unwanted files getting formatted, for example, when merging.