Skip to content

Commit

Permalink
terrascan: add patch
Browse files Browse the repository at this point in the history
Fixes version error.

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored and nandahkrishna committed Apr 30, 2021
1 parent 06b8a03 commit d1b4798
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/terrascan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ class Terrascan < Formula

depends_on "go" => :build

# Fixes version, remove in next release.
patch do
url "https://github.com/accurics/terrascan/commit/d8fd9c4bae5b12ffbe8d7c7e1a1d67042dfd8edf.patch?full_index=1"
sha256 "994c4bc35899286edf48baad868b7482e5dc1090ad8a7dceffe25e4df438ca2f"
end

def install
system "go", "build", *std_go_args, "./cmd/terrascan"
end
Expand Down

0 comments on commit d1b4798

Please sign in to comment.