We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ff75c commit 63a0525Copy full SHA for 63a0525
index.js
@@ -51,7 +51,10 @@ class PkgPyFuncs {
51
}
52
53
selectAll() {
54
- const functions = _.reject(this.serverless.service.functions, { runtime: 'nodejs6.10' });
+ const functions = _.reject(this.serverless.service.functions, (target) => {
55
+ return target.runtime && !(target.runtime + '').match(/python/i);
56
+ });
57
+
58
const info = _.map(functions, (target) => {
59
return {
60
name: target.name,
0 commit comments