mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Fix error caused by empty private dir
This commit is contained in:
@@ -7,7 +7,7 @@ if (-not $Strings) {
|
||||
try {[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")}
|
||||
catch {Write-Warning -Message $Strings.SystemDrawingAvaialable}
|
||||
|
||||
foreach ($directory in @('Public','Private', 'Charting','InferData','Pivot')) {
|
||||
foreach ($directory in @('Public','Charting','InferData','Pivot')) {
|
||||
Get-ChildItem -Path "$PSScriptRoot\$directory\*.ps1" | ForEach-Object {. $_.FullName}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user