Add --locked

This commit is contained in:
mo8it
2024-04-24 13:28:25 +02:00
parent ea504e6bf1
commit 71053101c3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ Set-Location $path
git checkout -q tags/$version
Write-Host "Installing the 'rustlings' executable..."
cargo install --force --path .
cargo install --locked --force --path .
if (!(Get-Command rustlings -ErrorAction SilentlyContinue)) {
Write-Host "WARNING: Please check that you have '~/.cargo/bin' in your PATH environment variable!"
}