Skip to content

Commit

Permalink
yaml-language-server: use *std_npm_args
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed Jul 29, 2024
1 parent 6023509 commit c79b988
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Formula/y/yaml-language-server.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class YamlLanguageServer < Formula
desc "Language Server for Yaml Files"
homepage "https://github.com/redhat-developer/yaml-language-server"
Expand All @@ -20,7 +18,7 @@ class YamlLanguageServer < Formula
depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]
end

Expand Down

0 comments on commit c79b988

Please sign in to comment.