File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -188,9 +188,9 @@ class RustPlugin {
188
188
`-v` ,
189
189
`${ srcPath } :/code` ,
190
190
`-v` ,
191
- `${ cargoRegistry } :/root/. cargo/registry` ,
191
+ `${ cargoRegistry } :/cargo/registry` ,
192
192
`-v` ,
193
- `${ cargoDownloads } :/root/. cargo/git` ,
193
+ `${ cargoDownloads } :/cargo/git` ,
194
194
] ;
195
195
const customArgs = ( env [ "SLS_DOCKER_ARGS" ] || "" ) . split ( " " ) || [ ] ;
196
196
let cargoFlags = ( funcArgs || { } ) . cargoFlags || this . custom . cargoFlags ;
Original file line number Diff line number Diff line change @@ -241,9 +241,9 @@ describe("RustPlugin", () => {
241
241
"-v" ,
242
242
"source_path:/code" ,
243
243
"-v" ,
244
- "cargo_registry:/root/. cargo/registry" ,
244
+ "cargo_registry:/cargo/registry" ,
245
245
"-v" ,
246
- "cargo_downloads:/root/. cargo/git" ,
246
+ "cargo_downloads:/cargo/git" ,
247
247
"-e" ,
248
248
"PROFILE=release" ,
249
249
"-e" ,
You can’t perform that action at this time.
0 commit comments