Skip to content

Commit

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

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent 3283a4b commit 562ae0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/toast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Toast < 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 562ae0d

Please sign in to comment.