mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 07:43:23 +00:00
uninitialized variable $idx leaks into the pipeline when -TableName parameter is used.
This commit is contained in:
@@ -254,8 +254,6 @@ function Export-Excel {
|
|||||||
$tbl = $ws.Tables.Add($targetRange, $TableName)
|
$tbl = $ws.Tables.Add($targetRange, $TableName)
|
||||||
|
|
||||||
$tbl.TableStyle=$TableStyle
|
$tbl.TableStyle=$TableStyle
|
||||||
|
|
||||||
$idx
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if($IncludePivotTable) {
|
if($IncludePivotTable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user