pastel: add --locked flag to cargo install
Closes #46165. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
0e604ac730
commit
21f5d6bad6
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Pastel < Formula
|
|||
def install
|
||||
ENV["SHELL_COMPLETIONS_DIR"] = buildpath/"completions"
|
||||
|
||||
system "cargo", "install", "--root", prefix, "--path", "."
|
||||
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
|
||||
|
||||
bash_completion.install "completions/pastel.bash"
|
||||
zsh_completion.install "completions/_pastel"
|
||||
|
|
Loading…
Reference in a new issue