File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ function injectAllRequirements() {
95
95
. map ( func => {
96
96
if ( func . module !== '.' ) {
97
97
const artifact = func . package . artifact ;
98
- const newArtifact = path . join ( '.serverless' , `${ func . module } .zip` ) ;
98
+ const newArtifact = path . join ( '.serverless' , `${ func . module } - ${ func . name } .zip` ) ;
99
99
func . package . artifact = newArtifact ;
100
100
return moveModuleUp ( artifact , newArtifact , func . module ) . then (
101
101
( ) => func
Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ teardown() {
197
197
cd tests/individually
198
198
npm i $( npm pack ../..)
199
199
sls package
200
- unzip .serverless/module1.zip -d puck
201
- unzip .serverless/module2.zip -d puck2
200
+ unzip .serverless/module1-sls-py-req-test-indiv .zip -d puck
201
+ unzip .serverless/module2-sls-py-req-test-indiv .zip -d puck2
202
202
ls puck/handler1.py
203
203
ls puck2/handler2.py
204
204
ls puck/pyaml
You can’t perform that action at this time.
0 commit comments