GIT_ARGS NOT WORKING
jupegarnica opened this issue · comments
Garn commented
Garn commented
I am working on ubuntu 21.04, and zsh-. but also happens in bash and sh.
Umberto Pepato commented
Hi @jupegarnica!
What version of Velociraptor are you using?
Garn commented
@umbopepato The last one 1.2.0
Garn commented
and deno 1.14.0
Umberto Pepato commented
Can you please try and set the VR_LOG
env variable to "DEBUG"
and share the output of the commitlint hook script?
Garn commented
Umberto Pepato commented
Ok so it looks like the GIT_ARGS
variable is properly set. What about
$ cat .git/hooks/commit-msg
?
Garn commented
@umbopepato do you mean this?
Umberto Pepato commented
@jupegarnica the first git CLI argument was not forwarded correctly to the script. The fix will be merged and released shortly but in the meantime you can test it by installing vr from the develop branch:
$ deno install --reload -qAfn vr https://raw.githubusercontent.com/jurassiscripts/velociraptor/develop/cli.ts
Thanks for reporting this! 🙂