node@6: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:07 +01:00
parent 5d4ceeb11e
commit 4af4965fa2

View file

@ -108,7 +108,7 @@ class NodeAT6 < 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.}*"]