git commit amend
Closed this issue · 2 comments
jeremybarbet commented
It's not executed somehow on the process.exit
birkir commented
You can only run synchronous operations in process exit.
You will have to use child_process.execSync('git', ['foo', 'bar'])
jeremybarbet commented
Thanks dude, I was trying to hard to use execa()
and simply using execa.sync()
works ✌🏻