Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Feb 5, 2025

PR Summary

When using YAML output, add --- separator between objects

  • rename write_output() to write_object() which more accurately describes the function
  • add parameter to write_object() indicating whether to emit YAML object separator

PR Context

Fix #628

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • dsc/tests/dsc_args.tests.ps1: Language not supported

@SteveL-MSFT
Copy link
Member Author

Need to wait for #634 which fixes the unit test failures unrelated to this change

@SteveL-MSFT SteveL-MSFT merged commit 2c9f49e into PowerShell:main Feb 7, 2025
4 checks passed
@SteveL-MSFT SteveL-MSFT deleted the yaml-break branch February 7, 2025 21:55
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.

YAML output should use document separators

2 participants