Closed
Description
We have a package.json:
{
"name": "talk",
"scripts": {
"a": "npm-run-all a:*",
"a:a": "echo a",
"a:b": "echo b",
"lint": "echo lint"
},
"config": {
"pre-git": {
"commit-msg": [],
"pre-commit": [
"npm-run-all lint",
"npm-run-all test"
],
"pre-push": [
"npm-run-all test"
],
"post-commit": [],
"post-merge": []
}
}
}
(truncated for simplicity)
And everytime I try to run yarn a
, I get the following:
error Command "--talk:pre_git_pre_commit_0=npm-run-all lint" not found.
error Command "--talk:pre_git_pre_commit_0=npm-run-all lint" not found.
I suspect that the configuration generated by the https://github.com/bahmutov/pre-git package is interfereing with the configuration parsing that's done here:
Lines 101 to 124 in 7e83545
Possibly a way around this?