From 4932077841474fdedcf050f9e49a515f6b505346 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 28 Sep 2023 17:07:20 +0700 Subject: [PATCH] chore(scripts): use cargo install --locked See https://github.com/tamasfe/taplo/issues/482 --- scripts/cargo.sh | 2 +- scripts/cargo_force.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cargo.sh b/scripts/cargo.sh index f6ca67c..8d9d6e1 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -2,7 +2,7 @@ rustup update -cargo install \ +cargo install --locked \ fd-find bat ripgrep git-delta exa tealdeer \ difftastic vivid \ fnm stylua taplo-cli \ diff --git a/scripts/cargo_force.sh b/scripts/cargo_force.sh index e1eff98..d098c98 100755 --- a/scripts/cargo_force.sh +++ b/scripts/cargo_force.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -cargo install --force \ +cargo install --force --locked \ fd-find bat ripgrep git-delta exa tealdeer \ difftastic vivid \ fnm stylua taplo-cli \