From 5004b435c85be08a7c1742d7b39fdcb83e52dc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eneko=20Fern=C3=A1ndez?= <12957664+enekofb@users.noreply.github.com> Date: Wed, 6 Dec 2023 09:06:47 +0100 Subject: [PATCH] fix kwargs (#37) --- Formula/gitops.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Formula/gitops.rb b/Formula/gitops.rb index 0ba1055..b2253d8 100644 --- a/Formula/gitops.rb +++ b/Formula/gitops.rb @@ -15,11 +15,11 @@ class Gitops < Formula def install bin.install "gitops" # Install bash completion - output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", err: :err) (bash_completion/"gitops").write output # Install zsh completion - output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", err: :err) (zsh_completion/"_gitops").write output end end @@ -30,11 +30,11 @@ def install def install bin.install "gitops" # Install bash completion - output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", err: :err) (bash_completion/"gitops").write output # Install zsh completion - output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", err: :err) (zsh_completion/"_gitops").write output end end @@ -48,11 +48,11 @@ def install def install bin.install "gitops" # Install bash completion - output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", err: :err) (bash_completion/"gitops").write output # Install zsh completion - output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", err: :err) (zsh_completion/"_gitops").write output end end @@ -63,11 +63,11 @@ def install def install bin.install "gitops" # Install bash completion - output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "bash" }, "#{bin}/gitops completion bash --no-analytics", err: :err) (bash_completion/"gitops").write output # Install zsh completion - output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", { :err => :err }) + output = Utils.safe_popen_read({ "SHELL" => "zsh" }, "#{bin}/gitops completion zsh --no-analytics", err: :err) (zsh_completion/"_gitops").write output end end