Skip to content

Commit

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

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent 4e732f6 commit 0a17c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/topgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Topgrade < 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 0a17c89

Please sign in to comment.