microsoft / beachball

The Sunniest Semantic Version Bumper

Home Page:https://microsoft.github.io/beachball

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

console.log(result.stderr);

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