-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(file) skip writing out empty entities
Previously, if a consumer didn't have any plugins associated with it, the output YAML would be: ```yaml consumers: - username: harry plugins: [] ``` The `plugins` can be skipped to make the output file more concise. This commits skips writing out entities which are empty: ```yaml consumers: - username: harry ```
- Loading branch information
Showing
2 changed files
with
17 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters