Skip to content

Commit

Permalink
Merge pull request #1153 from serverless-heaven/fix/this-serverless-u…
Browse files Browse the repository at this point in the history
…ndefined-zip
  • Loading branch information
j0k3r authored May 10, 2022
2 parents 2f00f04 + c34dbdc commit 1dea9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/packageModules.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function zip(directory, zipFileName) {
const artifactFilePath = path.join(this.webpackOutputPath, zipFileName);
this.serverless.utils.writeFileDir(artifactFilePath);

return serverlessZip({
return serverlessZip.call(this, {
directory,
artifactFilePath,
files
Expand Down

0 comments on commit 1dea9ec

Please sign in to comment.