Skip to content

Commit

Permalink
Merge pull request #168403 from branchvincent/jrsonnet
Browse files Browse the repository at this point in the history
jrsonnet: fix HEAD
  • Loading branch information
BrewTestBot authored Apr 9, 2024
2 parents 853e1bf + 55aa122 commit abac7fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/j/jrsonnet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ class Jrsonnet < Formula

def install
system "cargo", "install", *std_cargo_args(path: "cmds/jrsonnet")
generate_completions_from_executable(bin/"jrsonnet", "-", "--generate")
if build.head?
generate_completions_from_executable(bin/"jrsonnet", "generate")
else
generate_completions_from_executable(bin/"jrsonnet", "-", "--generate")
end
end

test do
Expand Down

0 comments on commit abac7fa

Please sign in to comment.