Skip to content

Commit

Permalink
cloudflare-wrangler2: drop unneeded rewrite_shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Aug 2, 2024
1 parent 5304349 commit dd1e1fa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Formula/c/cloudflare-wrangler2.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
require "language/node"

class CloudflareWrangler2 < Formula
include Language::Node::Shebang

desc "CLI tool for Cloudflare Workers"
homepage "https://github.com/cloudflare/workers-sdk"
url "https://registry.npmjs.org/wrangler/-/wrangler-3.68.0.tgz"
Expand All @@ -22,8 +18,7 @@ class CloudflareWrangler2 < Formula
depends_on "node"

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

Expand Down

0 comments on commit dd1e1fa

Please sign in to comment.