Skip to content

Commit

Permalink
Update TwinpackServer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
iadonkey authored May 5, 2024
1 parent 913f608 commit 02a6eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwinpackShared/Protocol/Native/TwinpackServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ public async Task PushAsync(IEnumerable<ConfigPlcProject> plcs, string configura
try
{
// check if package version already exists and skip it
var packageVersionLookup = await GetPackageVersionAsync(new PlcLibrary { DistributorName = plc.DistributorName, Name = plc.Name, Version = plc.Version }, configuration, branch, target, cancellationToken);
var packageVersionLookup = await GetPackageVersionAsync(new PlcLibrary { DistributorName = plc.DistributorName, Name = plc.Name, Version = plc.Version }, branch, configuration, target, cancellationToken);
if (packageVersionLookup.PackageVersionId != null)
{
string msg = $"already published package '{packageVersionLookup.Name}' (branch: {packageVersionLookup.Branch}, target: {packageVersionLookup.Target}, configuration: {packageVersionLookup.Configuration}, version: {packageVersionLookup.Version})";
Expand Down

0 comments on commit 02a6eb2

Please sign in to comment.