Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .nuget/nuget.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public bool Equals(ITemplatePackageInfo? x, ITemplatePackageInfo? y)
}

return x.Name.Equals(y.Name, StringComparison.OrdinalIgnoreCase)
&& (x.Version?.Equals(y.Version, StringComparison.OrdinalIgnoreCase) ?? x.Version == y.Version);
&& (x.Version?.Equals(y.Version, StringComparison.OrdinalIgnoreCase) ?? (x.Version == y.Version));
}

public int GetHashCode([DisallowNull] ITemplatePackageInfo obj)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ internal CliHostTemplateData ReadHostSpecificTemplateData(ITemplateInfo template
Console.Error.WriteLine(
"Failed to load dotnet CLI host data for template {0} from {1}. The host data will be ignored.",
templateInfo.ShortNameList?[0] ?? templateInfo.Name,
file?.GetDisplayPath() ?? templateInfo.MountPointUri + templateInfo.HostConfigPlace);
file?.GetDisplayPath() ?? (templateInfo.MountPointUri + templateInfo.HostConfigPlace));
Console.Error.WriteLine("Details: {0}", e);
}
finally
Expand Down