Skip to content

Commit

Permalink
feat: allow to download packages without an automation interface cont…
Browse files Browse the repository at this point in the history
…ext (hacky solution for now)
  • Loading branch information
iadonkey committed Jan 26, 2024
1 parent e1a843a commit a45b664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwinpackShared/TwinpackUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public static async Task<List<PackageVersionGetResponse>> DownloadPackageVersion
{
// check if we find the package on the system
bool referenceFound = false;
if (!forceDownload)
if (!forceDownload && libManager != null)
{
foreach (ITcPlcLibrary r in libManager.ScanLibraries())
{
Expand Down

0 comments on commit a45b664

Please sign in to comment.