File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class RustPlugin {
53
53
// Docker can't access resources outside of the current build directory.
54
54
// This poses a problem if the serverless yaml is inside a workspace,
55
55
// and we want pull in other packages from the workspace
56
- this . dockerPath = path . resolve ( this . custom . dockerPath || this . servicePath ) ;
56
+ this . srcPath = path . resolve ( this . custom . dockerPath || this . servicePath ) ;
57
57
58
58
// By default, Serverless examines node_modules to figure out which
59
59
// packages there are from dependencies versus devDependencies of a
@@ -228,7 +228,7 @@ class RustPlugin {
228
228
cargoPackage ,
229
229
binary ,
230
230
profile ,
231
- srcPath ,
231
+ this . srcPath ,
232
232
cargoRegistry ,
233
233
cargoDownloads ,
234
234
process . env
@@ -298,7 +298,7 @@ class RustPlugin {
298
298
// see https://serverless.com/framework/docs/providers/aws/guide/packaging/
299
299
// for more information
300
300
const artifactPath = path . join (
301
- this . dockerPath ,
301
+ this . srcPath ,
302
302
`target/lambda/${ "dev" === profile ? "debug" : "release" } ` ,
303
303
`${ binary } .zip`
304
304
) ;
You can’t perform that action at this time.
0 commit comments