This commit is contained in:
Alistair Smith
2025-08-20 13:33:41 -07:00
parent 5ae3e9b519
commit 35888fa2b2

View File

@@ -400,9 +400,8 @@ pub fn print(
.none, .dir => {
printed_installed_update_request = true;
// Determine if this package was updated or newly added
const was_updated = manager.updating_packages.contains(package_name);
const action_word = if (was_updated) "updated" else "added";
const action_word = if (was_updated) "updated" else "installed";
const fmt = comptime Output.prettyFmt("<r><green>{s}<r> <b>{s}<r><d>@{}<r>\n", enable_ansi_colors);
@@ -426,9 +425,8 @@ pub fn print(
};
{
// Determine if this package was updated or newly added
const was_updated = manager.updating_packages.contains(package_name);
const action_word = if (was_updated) "updated" else "added";
const action_word = if (was_updated) "updated" else "installed";
const fmt = comptime Output.prettyFmt("<r><green>{s}<r> {s}<r><d>@{}<r> with binaries:\n", enable_ansi_colors);