From 1df832c265a54db7d86eb01e25d152eaed8e1307 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Wed, 28 Oct 2020 09:24:10 +0100 Subject: [PATCH] [#423] Redirect wget output to null Avoid displaying wget output when checking wget version by redirecting the output to /dev/null (per review). --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 3a177341..6836e3d0 100644 --- a/Rakefile +++ b/Rakefile @@ -84,7 +84,7 @@ MOCKGEN = "#{GOBIN}/mockgen" RICHGO = "#{GOBIN}/richgo" # wget -if system("wget --version").nil? +if system("wget --version > /dev/null").nil? abort("wget is not installed on this system") end # extract wget version -- GitLab