mirror of https://github.com/smithy-lang/smithy-rs
Make `RequireRustBuildTool` Gradle task use `--locked` when `cargo install`ing (#2210)
This commit is contained in:
parent
8013166c9b
commit
4fbfc07336
|
@ -101,6 +101,7 @@ abstract class RequireRustBuildTool : DefaultTask() {
|
|||
if (System.getenv()["SMITHY_RS_DOCKER_BUILD_IMAGE"] != "1") {
|
||||
val command = mutableListOf("cargo")
|
||||
command.add("install")
|
||||
command.add("--locked")
|
||||
command.add("--path")
|
||||
command.add(toolPath!!.absolutePath)
|
||||
runCli(
|
||||
|
|
Loading…
Reference in New Issue