Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings messages in output to files #1926

Closed
mshanemc opened this issue Feb 10, 2023 · 1 comment
Closed

warnings messages in output to files #1926

mshanemc opened this issue Feb 10, 2023 · 1 comment
Labels
investigating We're actively investigating this issue

Comments

@mshanemc
Copy link
Contributor

We shipped a bug where the warning messages about new commands are showing up in stdout instead of stderr.

You'll probably notice this if you're relying on stdout to go to a file, like

sfdx force:data:soql:query -q "SELECT SOMETHING ..." --result-format csv > somefile.csv

and then there's unexpected warnings at the top of your csv file. 😠

workarounds

  1. It's fixed in version 7.188.1, a patch of the RC built on Feb 9. You could use that version.
  2. Use the command's new name/flags ex: sfdx data query -q "SELECT SOMETHING ..." --result-format csv > somefile.csv to prevent the warnings.
@mshanemc mshanemc added the investigating We're actively investigating this issue label Feb 10, 2023
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

1 participant