Skip to content

Commit

Permalink
Print all nodes to dot output
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Mar 23, 2024
1 parent 84d427d commit 4717fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcpkg/commands.depend-info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ namespace vcpkg

for (const auto& package : depend_info)
{
fmt::format_to(std::back_inserter(s), "\"{}\";\n", package.package);
if (package.dependencies.empty())
{
empty_node_count++;
continue;
}

fmt::format_to(std::back_inserter(s), "\"{}\";\n", package.package);
for (const auto& d : package.dependencies)
{
fmt::format_to(std::back_inserter(s), "\"{}\" -> \"{}\";\n", package.package, d);
Expand Down

0 comments on commit 4717fec

Please sign in to comment.