Skip to content

Commit ae98476

Browse files
committed
Fix archive name
1 parent af3375f commit ae98476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/inject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function injectAllRequirements() {
9595
.map(func => {
9696
if (func.module !== '.') {
9797
const artifact = func.package.artifact;
98-
const newArtifact = path.join('.serverless', `${func.module-func.name}.zip`);
98+
const newArtifact = path.join('.serverless', `${func.module}-${func.name}.zip`);
9999
func.package.artifact = newArtifact;
100100
return moveModuleUp(artifact, newArtifact, func.module).then(
101101
() => func

0 commit comments

Comments
 (0)