phylum-dev / cli

Command line interface for the Phylum API
https://phylum.io
GNU General Public License v3.0
99 stars 10 forks source link

Add STDOUT to lockfile generation error message #1428

Closed cd-work closed 1 month ago

cd-work commented 1 month ago

Previously only the STDERR was printed whenever lockfile generation encountered a non-zero exit code from the package manager, however some package managers like dotnet print their errors to STDOUT.

This patch reworks the output in these error cases to print both STDERR and STDOUT and formats things a little nicer to make it easy to keep the two apart.

Closes #1425.