Skip to content

Commit 4c1d45e

Browse files
Merge pull request #41 from ubaniabalogun/patch-autoConfigArtifacts
Patch AutoConfigArtifacts
2 parents 0e1bfd5 + 8e8714c commit 4c1d45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PkgPyFuncs {
3737

3838
autoconfigArtifacts() {
3939
_.map(this.serverless.service.functions, (func_config, func_name) => {
40-
let autoArtifact = `${this.buildDir}/${func_name}.zip`
40+
let autoArtifact = `${this.buildDir}/${func_config.name}.zip`
4141
func_config.package.artifact = func_config.package.artifact || autoArtifact
4242
this.serverless.service.functions[func_name] = func_config
4343
})

0 commit comments

Comments
 (0)