From 2723db03c91b94262c42c8097d00c97a3e35a692 Mon Sep 17 00:00:00 2001 From: Jim-Wang Date: Tue, 23 Jul 2024 10:56:48 +0800 Subject: [PATCH] Optimize the output of portsdiff command --- src/vcpkg/commands.portsdiff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vcpkg/commands.portsdiff.cpp b/src/vcpkg/commands.portsdiff.cpp index e3ffa78ced..d8fdd046fc 100644 --- a/src/vcpkg/commands.portsdiff.cpp +++ b/src/vcpkg/commands.portsdiff.cpp @@ -17,12 +17,12 @@ namespace std::string format_name_and_version(StringView name, const Version& version) { - return fmt::format("\t- {:<15}{:<}\n", name, version); + return fmt::format("\t- {:<15} {:<}\n", name, version); } std::string format_name_and_version_diff(StringView name, const VersionDiff& version_diff) { - return fmt::format("\t- {:<15}{:<}\n", name, version_diff); + return fmt::format("\t- {:<15} {:<}\n", name, version_diff); } std::vector read_ports_from_commit(const VcpkgPaths& paths, StringView git_commit_id)