Skip to content

Commit

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

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent 84efd2d commit 760a0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/sn0int.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Sn0int < Formula
depends_on "sphinx-doc" => :build

def install
system "cargo", "install", "--root", prefix, "--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."

system "#{bin}/sn0int completions bash > sn0int.bash"
system "#{bin}/sn0int completions fish > sn0int.fish"
Expand Down

0 comments on commit 760a0ec

Please sign in to comment.