-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi you project is awesome, I tried to use it with PDM but I saw #111 and i bypassed the issue downloading all PDM files locally.
I think that an if for file exist check will "workaround" the problem.
cad-plus/src/Batch.StandAlone/Core/BatchRunner.cs
Lines 254 to 285 in 8673860
foreach (var input in inputs) | |
{ | |
if (Directory.Exists(input)) | |
{ | |
foreach (var file in Directory.EnumerateFiles(input, "*.*", SearchOption.AllDirectories)) | |
{ | |
if (TextUtils.MatchesAnyFilter(file, filters)) | |
{ | |
if (!m_AppProvider.Descriptor.IsSystemFile(file)) | |
{ | |
if (!inputFiles.Contains(input, StringComparer.CurrentCultureIgnoreCase)) | |
{ | |
inputFiles.Add(file); | |
} | |
} | |
else | |
{ | |
m_JournalWriter.WriteLine($"Skipping file '{file}'"); | |
} | |
} | |
} | |
} | |
else if (File.Exists(input)) | |
{ | |
if (!inputFiles.Contains(input, StringComparer.CurrentCultureIgnoreCase)) | |
{ | |
inputFiles.Add(input); | |
} | |
} | |
else | |
{ | |
throw new UserException($"Input '{input}' does not exist"); |
On the other hand I'm using Batch+ instead of Export+ because of #15, but I'm getting Error '91': Object variable or With block variable not set on my macro when i try to run the a job.
Can you help me? Do I need to buy Standard Edition to fix the problem?
Metadata
Metadata
Assignees
Labels
No labels