mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-28 06:03:22 +00:00
Replace [void] with $null
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
)
|
||||
process {
|
||||
if ($Range -is [Array]) {
|
||||
[void]$PSBoundParameters.Remove("Range")
|
||||
$null = $PSBoundParameters.Remove("Range")
|
||||
$Range | Set-ExcelRange @PSBoundParameters
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user