Re: git hook question
- From
Wesley <wesleys@opperschaap.net>
- Date
- May 29, 2026, 16:22 UTC
- Message-ID
- <cdf6b0b1-9211-4b8e-a81c-7d5f2888cd34@opperschaap.net>
- In-Reply-To
- <c5527d8c-9147-4355-a07d-153d3977108e@opperschaap.net>
On 5/29/26 12:11, Wesley Schwengle wrote:
Show 13 quoted lines
>> Git will paste together the shell command: >> >> npm run test # "$@" > > That doesn't work on my side: > > $ cat ~/.config/git/js.config && git config --get hook.npm-test.command > && GIT_TRACE=1 git poh > [hook "npm-test"] > event = pre-push > command = npm run test # > enabled = true > npm run test
It does work with: `command = npm run test "#"'
Small oversight.
Cheers, Wesley
-- Wesley Why not both?