Skip to content

Commit

Permalink
mdcat: add --locked flag to cargo install
Browse files Browse the repository at this point in the history
Closes #46171.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent ef173f9 commit 24df02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/mdcat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Mdcat < Formula
depends_on "rust" => :build

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

test do
Expand Down

0 comments on commit 24df02c

Please sign in to comment.