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

M365DSCDRGUtil: Write properties properly indented and in new line in blueprints #3705

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

ricmestre
Copy link
Contributor

@ricmestre ricmestre commented Sep 20, 2023

Pull Request (PR) description

Write properties properly indented and in new line in blueprints.

Currently some resources, such as IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10, with deeply nested properties are not being written correctly in the blueprints, instead they are written in the same line of previous property which makes the blueprint unable to be compiled to MOF.

This is a partial revert of commit 61260b5

This Pull Request (PR) fixes the following issues

@William-Francillette
Copy link
Contributor

@NikCharlebois @ricmestre
I believe the indent issues are caused by the ReverseDSC function Convert-DSCStringParamToVariable in nested CIM instances
I've posted this PR microsoft/ReverseDSC#34 when we created M365DSCDRGUTIL but it wasn't merge and now has conflict.

I'll remediate the conflict tomorrow and test again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants