From e453ffe5f7bfaee9c92f1cff546bc4869f148dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa=20Cota?= Date: Mon, 21 May 2018 18:16:54 +0200 Subject: [PATCH] style(openresty) use ruby blocks consistently --- Formula/openresty.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Formula/openresty.rb b/Formula/openresty.rb index 847664e..df52eb9 100644 --- a/Formula/openresty.rb +++ b/Formula/openresty.rb @@ -19,9 +19,11 @@ class Openresty < Formula def install - resource("openresty-patches").stage{ Dir["#{pwd}/patches/#{version}/*.patch"].each do | f | - system "cd", buildpath/"bundle", "&&", "patch", "-p1", "<", f - end } + resource("openresty-patches").stage do + Dir["#{pwd}/patches/#{version}/*.patch"].each do |f| + system "cd", buildpath/"bundle", "&&", "patch", "-p1", "<", f + end + end args = [ "--prefix=#{prefix}",