From 151658c80815163eeaba6cff7e005c779f23e4d8 Mon Sep 17 00:00:00 2001 From: attilamihalicz Date: Thu, 7 Jul 2016 10:37:04 +0200 Subject: [PATCH 1/2] removing extra spaces after the backtick --- Install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 81218a4..3ed502e 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -20,7 +20,7 @@ $fileList = echo ` Import-Html.ps1 ` Get-ExcelSheetInfo.ps1 ` Get-Range.ps1 ` - TrackingUtils.ps1 ` + TrackingUtils.ps1 ` plot.ps1 if ('' -eq $InstallDirectory) @@ -46,4 +46,4 @@ $wc = New-Object System.Net.WebClient $fileList | ForEach-Object { $wc.DownloadFile("https://raw.github.com/dfinke/ImportExcel/master/$_","$installDirectory\$_") - } \ No newline at end of file + } From dba4768514d66b800a32978d691e41dcacada8a2 Mon Sep 17 00:00:00 2001 From: Attila Mihalicz Date: Thu, 7 Jul 2016 11:35:42 +0200 Subject: [PATCH 2/2] uninitialized variable leaks into the pipeline when -TableName parameter is used. --- Export-Excel.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/Export-Excel.ps1 b/Export-Excel.ps1 index ee31f1c..1dd1ec0 100644 --- a/Export-Excel.ps1 +++ b/Export-Excel.ps1 @@ -254,8 +254,6 @@ function Export-Excel { $tbl = $ws.Tables.Add($targetRange, $TableName) $tbl.TableStyle=$TableStyle - - $idx } if($IncludePivotTable) {