Remove direct writes to process.stderr
#1875
Labels
bug
Something isn't working
priority-low
Legit issue but cosmetic or nice-to-have
severity-low
Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
In several places we write output to
process.stderr
, which means that in daemon mode the output will be printed directly from the server rather than being passed on to the client.We should consider replacing it with logic like the following:
https://github.com/zowe/imperative/blob/7571d180d54da03affe6e6e178a0617fc4d555f5/packages/imperative/src/plugins/utilities/NpmFunctions.ts#L45
https://github.com/zowe/imperative/blob/7571d180d54da03affe6e6e178a0617fc4d555f5/packages/imperative/src/plugins/utilities/npm-interface/uninstall.ts#L60
https://github.com/zowe/imperative/blob/7571d180d54da03affe6e6e178a0617fc4d555f5/packages/cmd/src/yargs/YargsConfigurer.ts#L87
The text was updated successfully, but these errors were encountered: