Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Apr 26, 2024
1 parent 2087bcc commit 630db66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ it is possible that incomplete package lists are returned from a command

ChocolateyPackageMetadata packageLocalMetadata;
string packageInstallLocation = null;
string softwareInstallLocation = null;
string deploymentLocation = null;
if (package.PackagePath != null && !string.IsNullOrWhiteSpace(package.PackagePath))
{
packageLocalMetadata = new ChocolateyPackageMetadata(package.PackagePath, _fileSystem);
Expand All @@ -216,7 +216,7 @@ it is possible that incomplete package lists are returned from a command
}
}

softwareInstallLocation = packageInfo.SoftwareInstallLocation;
deploymentLocation = packageInfo.DeploymentLocation;
}

if (!config.QuietOutput)
Expand Down Expand Up @@ -278,7 +278,7 @@ Package url{6}
package.Summary != null && !string.IsNullOrWhiteSpace(package.Summary.ToStringSafe()) ? "\r\n Summary: {0}".FormatWith(package.Summary.EscapeCurlyBraces().ToStringSafe()) : string.Empty,
package.Description.EscapeCurlyBraces().Replace("\n ", "\n").Replace("\n", "\n "),
!string.IsNullOrWhiteSpace(package.ReleaseNotes.ToStringSafe()) ? "{0} Release Notes: {1}".FormatWith(Environment.NewLine, package.ReleaseNotes.EscapeCurlyBraces().Replace("\n ", "\n").Replace("\n", "\n ")) : string.Empty,
!string.IsNullOrWhiteSpace(softwareInstallLocation) ? "{0} Software installed to: '{1}'".FormatWith(Environment.NewLine, softwareInstallLocation) : string.Empty
!string.IsNullOrWhiteSpace(deploymentLocation) ? "{0} Deployed to: '{1}'".FormatWith(Environment.NewLine, deploymentLocation) : string.Empty
));
}
}
Expand Down

0 comments on commit 630db66

Please sign in to comment.