When using the argument {matchedFiles} for instance in a hook, it will list changed file of the package as expected, but it will also list deleted files, leading to errors sometimes.
Here, the file ` was deleted which breaks my pre-commit hook and made me do a commit--no-verify`.
When using the argument
{matchedFiles}
for instance in a hook, it will list changed file of the package as expected, but it will also list deleted files, leading to errors sometimes.Here, the file
` was deleted which breaks my pre-commit hook and made me do a commit
--no-verify`.