remove LoadPSD calls & 72 empty catch blocks from examples

This commit is contained in:
jhoneill
2019-11-17 22:45:29 +00:00
parent 36f27e3d40
commit 66bf3adf17
73 changed files with 73 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
try { . $PSScriptRoot\..\..\LoadPSD1.ps1 } catch { }
try {Import-Module $PSScriptRoot\..\..\ImportExcel.psd1} catch {throw ; return}
$xlfile = "$env:TEMP\test.xlsx"
Remove-Item $xlfile -ErrorAction SilentlyContinue

View File

@@ -1,5 +1,5 @@
# https://raw.githubusercontent.com/dfinke/ImportExcel/master/images/NewExcelStyle.png
try { . $PSScriptRoot\..\..\LoadPSD1.ps1 } catch { }
try {Import-Module $PSScriptRoot\..\..\ImportExcel.psd1} catch {throw ; return}
$xlfile = "$env:TEMP\test.xlsx"
Remove-Item $xlfile -ErrorAction SilentlyContinue