mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
add psd1 check
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||
|
||||
$xlfilename=".\test.xlsx"
|
||||
rm $xlfilename -ErrorAction Ignore
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||
|
||||
function Test-APIReadXls {
|
||||
param(
|
||||
[parameter(Mandatory)]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||
|
||||
. $PSScriptRoot\TestAPIReadXls.ps1
|
||||
|
||||
Test-APIReadXls $PSScriptRoot\testlist.xlsx | % {
|
||||
|
||||
Reference in New Issue
Block a user