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

DXCDT-325: Prevent erroneous truncation message with --json flag #607

Merged
merged 2 commits into from
Jan 13, 2023

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Jan 12, 2023

🔧 Changes

When running the auth0 apis show command normally, the output is very large and the scopes become truncated. In these cases, the CLI will display a message noting the truncation. However, when running in conjunction with the --json flag, the message still appears even though that flag will return all scopes. This is not only incorrect but could interfere with the JSON parsing.

Example:
Screen Shot 2023-01-12 at 5 15 15 PM

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@willvedd willvedd requested a review from a team as a code owner January 12, 2023 22:15
@willvedd willvedd merged commit 463bb7f into v1 Jan 13, 2023
@willvedd willvedd deleted the DXCDT-325-erroneous-truncation-message-json branch January 13, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants