From 9993a5ef01b9a447b0f6061b88830c75cd292bc6 Mon Sep 17 00:00:00 2001 From: Eneko Fernandez Date: Tue, 5 Dec 2023 18:51:28 +0100 Subject: [PATCH] fix kwargs --- 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