Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Aug 28, 2023
1 parent 9df3db3 commit 88a50b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# Change log for Microsoft365DSC

# UNRELEASED

* MISC
* Fixes an issue with the generic export CIM Instance logic.
FIXES [#3610](https://github.com/microsoft/Microsoft365DSC/issues/3610)

# 1.23.823.1

* AADAuthorizationPolicy
Expand Down
6 changes: 3 additions & 3 deletions Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1
Expand Up @@ -427,15 +427,15 @@ function Get-M365DSCDRGComplexTypeToString
$currentProperty += "$indent}"
#if ($isArray -or $IndentLevel -gt 4)
#{
$currentProperty += "`r`n"
#$currentProperty += "`r`n"
#}

#Indenting last parenthese when the cim instance is an array
if ($IndentLevel -eq 5)
<#if ($IndentLevel -eq 5)
{
$indent = ' ' * ($IndentLevel -2)
$currentProperty += $indent
}
}#>

$emptyCIM = $currentProperty.replace(' ', '').replace("`r`n", '')
if ($emptyCIM -eq "MSFT_$CIMInstanceName{}")
Expand Down

0 comments on commit 88a50b3

Please sign in to comment.