Skip to content

Commit

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

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent b4289bc commit 63c2723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/diffr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Diffr < Formula
depends_on "diffutils" => :test

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

test do
Expand Down

0 comments on commit 63c2723

Please sign in to comment.