diff --git a/lib/inject.js b/lib/inject.js index aced0fcf..876e1b75 100644 --- a/lib/inject.js +++ b/lib/inject.js @@ -67,7 +67,7 @@ function moveModuleUp(source, target, module) { file => file.startsWith(module + '/') || file.startsWith('serverless_sdk/') || - file.match(/s_.*\.py/) !== null + file.match(/^s_.*\.py/) !== null ) ) .map(srcZipObj =>