jfrog / jfrog-vscode-extension

JFrog VS-Code Extension
https://jfrog.github.io/jfrog-vscode-extension
Apache License 2.0
188 stars 36 forks source link

Ignore stderr when invoking npm (#191) #366

Closed EstebanDugueperoux2 closed 1 year ago

EstebanDugueperoux2 commented 1 year ago
github-actions[bot] commented 1 year ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

EstebanDugueperoux2 commented 1 year ago

I have read the CLA Document and I hereby sign the CLA

Or-Geva commented 1 year ago

Thanks for your contribution @EstebanDugueperoux2.

I couldn't find any specific information regarding the usage of the --silent flag in conjunction with the npm ls command. Could you please provide further details or share additional information about it?

EstebanDugueperoux2 commented 1 year ago

Hi @Or-Geva,

It is documented in https://docs.npmjs.com/cli/v8/using-npm/logging. I have tested locally on my project and with the "--silent" option, we get only JSON from stdout without stderr which is not JSON.

Regards.

Or-Geva commented 1 year ago

@EstebanDugueperoux2, After thorough debugging, I have identified and resolved the issue you raised here. Thank you for bringing it to our attention. Your feedback has been valuable in improving the quality of our codebase. We greatly appreciate your contribution!

Please feel free to review the changes and let me know if there is anything else I can assist you with. Thank you again for your support!