Replace [void] with $null

This commit is contained in:
ili101
2019-04-08 13:34:31 +03:00
parent 52231254a5
commit 92c97b25c3
6 changed files with 11 additions and 11 deletions

View File

@@ -110,7 +110,7 @@
)
process {
if ($Range -is [Array]) {
[void]$PSBoundParameters.Remove("Range")
$null = $PSBoundParameters.Remove("Range")
$Range | Set-ExcelRange @PSBoundParameters
}
else {