Skip to content

Fix ‘null’ output if command doesn’t return#1913

Merged
derekbekoe merged 1 commit into
Azure:masterfrom
derekbekoe:json-null
Jan 30, 2017
Merged

Fix ‘null’ output if command doesn’t return#1913
derekbekoe merged 1 commit into
Azure:masterfrom
derekbekoe:json-null

Conversation

@derekbekoe
Copy link
Copy Markdown
Member

  • This prevents commands from printing ‘null’ in JSON output
  • But still keeps ‘[]’, ‘{}’, and ‘false’ as valid JSON results

Closes #1908

- This prevents commands from printing ‘null’ in JSON output
- But still keeps ‘[]’, ‘{}’, and ‘false’ as valid JSON results

Closes Azure#1908
@derekbekoe
Copy link
Copy Markdown
Member Author

@tjprescott Can you take a quick look?

Copy link
Copy Markdown
Member

@tjprescott tjprescott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@derekbekoe derekbekoe merged commit 8d9869a into Azure:master Jan 30, 2017
@derekbekoe derekbekoe deleted the json-null branch January 30, 2017 20:38
00Kai0 pushed a commit to 00Kai0/azure-cli that referenced this pull request Apr 7, 2021
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=432078

Last commit: Azure/azure-cli-extensions@e5ba1ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants