From eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 23 Mar 2024 14:50:37 +0100 Subject: chore(promises): make a Status function part of the Promise interface --- stdlib/os/debian/apt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/os/debian/apt.go b/stdlib/os/debian/apt.go index aad8b65..5b0b54f 100644 --- a/stdlib/os/debian/apt.go +++ b/stdlib/os/debian/apt.go @@ -58,7 +58,7 @@ func packages_install(names []string) (gonf.Status, []string) { cmd := gonf.CommandWithEnv([]string{"DEBIAN_FRONTEND=noninteractive", "LC_ALL=C"}, "apt-get", args...) cmd.Resolve() packages_list() - return cmd.Status, names + return cmd.Status(), names } func packages_list() { -- cgit v1.2.3