Print stdout when package publish fails
rajsite opened this issue · comments
If the packagePublish
operation fails it only prints the contents of stderr
to the console:
It would be useful to print the contents of result.stdout
as well for useful context (ie debugging CI failures).
It may be useful to configure execa with the option {all: true}
and then log the all
property from the results which gives interlaced stdout and stderror output: https://www.npmjs.com/package/execa#all-1
This was fixed by #734