Skip to content

Commit 6427be7

Browse files
Apply patch of PR serverless#652
1 parent ec84948 commit 6427be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class ServerlessPythonRequirements {
107107
get targetFuncs() {
108108
let inputOpt = this.serverless.processedInput.options;
109109
return inputOpt.function
110-
? [inputOpt.functionObj]
110+
? [this.serverless.service.functions[inputOpt.function]]
111111
: values(this.serverless.service.functions).filter((func) => !func.image);
112112
}
113113

0 commit comments

Comments
 (0)