Skip to content

Commit

Permalink
tealdeer: Add --locked flag to cargo install
Browse files Browse the repository at this point in the history
Closes #46079.

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
samford authored and fxcoudert committed Nov 1, 2019
1 parent 2f02f60 commit 2799937
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Formula/tealdeer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class Tealdeer < Formula
conflicts_with "tldr", :because => "both install `tldr` binaries"

def install
system "cargo", "install", "--root", prefix,
"--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
bash_completion.install "bash_tealdeer"
end

Expand Down

0 comments on commit 2799937

Please sign in to comment.