From 5d4ceeb11e675cdb8cd07335bc09d0a54b90c060 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 28 May 2017 17:57:06 +0100 Subject: [PATCH] node@4: fix rubocop warnings. --- Formula/node@4.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/node@4.rb b/Formula/node@4.rb index 4c56ccf321..da58e8242d 100644 --- a/Formula/node@4.rb +++ b/Formula/node@4.rb @@ -101,7 +101,7 @@ class NodeAT4 < Formula # Let's do the manpage dance. It's just a jump to the left. # And then a step to the right, with your hand on rm_f. - ["man1", "man3", "man5", "man7"].each do |man| + %w[man1 man3 man5 man7].each do |man| # Dirs must exist first: https://github.com/Homebrew/legacy-homebrew/issues/35969 mkdir_p HOMEBREW_PREFIX/"share/man/#{man}" rm_f Dir[HOMEBREW_PREFIX/"share/man/#{man}/{npm.,npm-,npmrc.,package.json.}*"]