Skip to content

Commit 60dcb8a

Browse files
committed
(#1276) Refactor space changes and added last update dated
1 parent 424b9f7 commit 60dcb8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chocolatey/infrastructure.app/services/NugetService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,12 @@ it is possible that incomplete package lists are returned from a command
276276
{
277277
if (!(packageInfo != null && packageInfo.IsPinned && config.ListCommand.IgnorePinned))
278278
{
279-
this.Log().Info(logger, () => "{0}{1}".FormatWith(package.Identity.Id, config.ListCommand.IdOnly ? string.Empty : " {0}{1}{2}{3} {4}".FormatWith(
279+
this.Log().Info(logger, () => "{0}{1}".FormatWith(package.Identity.Id, config.ListCommand.IdOnly ? string.Empty : " {0}{1}{2}{3}{4}".FormatWith(
280280
packageLocalMetadata != null ? packageLocalMetadata.Version.ToFullStringChecked() : package.Identity.Version.ToFullStringChecked(),
281281
package.IsApproved ? " [Approved]" : string.Empty,
282282
package.IsDownloadCacheAvailable ? " Downloads cached for licensed users" : string.Empty,
283283
package.PackageTestResultStatus == "Failing" && package.IsDownloadCacheAvailable ? " - Possibly broken for FOSS users (due to original download location changes by vendor)" : package.PackageTestResultStatus == "Failing" ? " - Possibly broken" : string.Empty,
284-
config.ListCommand.ShowLastUpdatedDate ? package.Published?.ToString("yyyy-MM-dd HH:mm:ss") ?? "Last updated not available" : string.Empty
284+
config.ListCommand.ShowLastUpdatedDate ? package.Published?.ToString(" yyyy-MM-dd HH:mm:ss") ?? " Last updated not available" : string.Empty
285285
))
286286
);
287287

0 commit comments

Comments
 (0)