-
Notifications
You must be signed in to change notification settings - Fork 78
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
Deprecated warning message part of stdout instead of stderr resulting in invalid json response #1896
Comments
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. |
Hi @jguay , thanks for reporting this issue! I was able to reproduce it, but also found a workaround.
instead of using |
This issue has been linked to a new work item: W-12436551 |
Thank you @WillieRuemmele |
duplicate of #1926 |
sfdx version 7.184.2 using deprecated function and redirecting stderr to
/dev/null
, the output is invalid json as the json is prefixed by some non json textWarning...
that does not respect json formatting rules:This deprecation warning is a breaking change, assume I don't control the sfdx version, the new
data query
does not work on older sfdx version and we now have to do 2 things to fix this :Warning
- I expect warning should be sent tostderr
then there would not be any issue (we capture stderr to logs but that would not break automations)...7.184.2
to call the new methods which did not exist in previous versionThe text was updated successfully, but these errors were encountered: