diff options
author | Julien Dessaux | 2024-03-23 14:50:37 +0100 |
---|---|---|
committer | Julien Dessaux | 2024-03-24 09:58:15 +0100 |
commit | eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb (patch) | |
tree | b7d8bfca9d583fb6a555a73cda36d0c940dd692e /stdlib | |
parent | feat(custom): implemented custom promises (diff) | |
download | gonf-eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb.tar.gz gonf-eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb.tar.bz2 gonf-eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb.zip |
chore(promises): make a Status function part of the Promise interface
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/os/debian/apt.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |