Skip to content

Commit 66bd315

Browse files
okay this is the final one, linting.
1 parent 409a8ed commit 66bd315

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Modules/CIPPCore/Public/Compare-CIPPIntuneObject.ps1

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ function Compare-CIPPIntuneObject {
290290
} elseif (-not $val1IsEmpty -or -not $val2IsEmpty) {
291291
# One side is null/empty, the other is not - report as difference
292292
$result.Add([PSCustomObject]@{
293-
Property = $newPath
294-
ExpectedValue = if ($null -eq $val1) { '' } else { $val1 }
295-
ReceivedValue = if ($null -eq $val2) { '' } else { $val2 }
296-
})
293+
Property = $newPath
294+
ExpectedValue = if ($null -eq $val1) { '' } else { $val1 }
295+
ReceivedValue = if ($null -eq $val2) { '' } else { $val2 }
296+
})
297297
}
298298
} catch {
299299
throw
@@ -304,10 +304,10 @@ function Compare-CIPPIntuneObject {
304304
$valIsEmpty = ($null -eq $val -or $val -eq '' -or ($val -is [Array] -and $val.Count -eq 0))
305305
if (-not $valIsEmpty) {
306306
$result.Add([PSCustomObject]@{
307-
Property = $newPath
308-
ExpectedValue = $val
309-
ReceivedValue = ''
310-
})
307+
Property = $newPath
308+
ExpectedValue = $val
309+
ReceivedValue = ''
310+
})
311311
}
312312
} catch {
313313
throw
@@ -318,10 +318,10 @@ function Compare-CIPPIntuneObject {
318318
$valIsEmpty = ($null -eq $val -or $val -eq '' -or ($val -is [Array] -and $val.Count -eq 0))
319319
if (-not $valIsEmpty) {
320320
$result.Add([PSCustomObject]@{
321-
Property = $newPath
322-
ExpectedValue = ''
323-
ReceivedValue = $val
324-
})
321+
Property = $newPath
322+
ExpectedValue = ''
323+
ReceivedValue = $val
324+
})
325325
}
326326
} catch {
327327
throw

0 commit comments

Comments
 (0)