Closed dwayne closed 7 years ago
That is fine, then it just runs synchronously. Do you have a requirement to have it running asynchronously?
@pirelenito No requirement. Just something I noticed when I was trying to handle an error. That there is no way to do it asynchronously even though the underlying function takes a callback. So I felt like mentioning it for completeness.
That is an implementation detail that is not documented, and since these functions were designed to be used while constructing Webpack configurations, they will most likely will be called synchronously.
Thanks for getting in touch,
Cheers
runGitCommand
can take a callback, see here. But, we don't allow one to be passed along, see here.