fselect: add locked flag to cargo install

Closes #46624.

Signed-off-by: Rui Chen <rchen@meetup.com>
This commit is contained in:
Sam Ford 2019-11-11 08:37:09 -05:00 committed by Rui Chen
parent 73359f41d9
commit 5a90ccf8b0

View file

@ -14,7 +14,7 @@ class Fselect < Formula
depends_on "rust" => :build
def install
system "cargo", "install", "--root", prefix, "--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
test do