language/node: fix Rubocop warnings.
This commit is contained in:
parent
78603a24f6
commit
bde8d69d6e
@ -21,7 +21,7 @@ module Language
|
|||||||
setup_npm_environment
|
setup_npm_environment
|
||||||
# tell npm to not install .brew_home by adding it to the .npmignore file
|
# tell npm to not install .brew_home by adding it to the .npmignore file
|
||||||
# (or creating a new one if no .npmignore file already exists)
|
# (or creating a new one if no .npmignore file already exists)
|
||||||
open(".npmignore", "a") { |f| f.write( "\n.brew_home\n") }
|
open(".npmignore", "a") { |f| f.write("\n.brew_home\n") }
|
||||||
# npm install args for global style module format installed into libexec
|
# npm install args for global style module format installed into libexec
|
||||||
["--verbose", "--global", "--prefix=#{libexec}", "."]
|
["--verbose", "--global", "--prefix=#{libexec}", "."]
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user