From 24df02cbdf6a3be9f8172c5b73920a925f6d3b88 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 2 Nov 2019 21:17:24 -0400 Subject: [PATCH] mdcat: add --locked flag to cargo install Closes #46171. Signed-off-by: FX Coudert --- Formula/mdcat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/mdcat.rb b/Formula/mdcat.rb index ca94be502cc21..259c310e76d9e 100644 --- a/Formula/mdcat.rb +++ b/Formula/mdcat.rb @@ -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