Skip to content

Commit 3e34020

Browse files
authored
fix: support docker lambdas
1 parent c23faad commit 3e34020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/typescript.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export function extractFileNames(cwd: string, provider: string, functions?: { [k
4848

4949
return _.values(functions)
5050
.map(fn => fn.handler)
51+
.filter(Boolean)
5152
.map(h => {
5253
const fnName = _.last(h.split('.'))
5354
const fnNameLastAppearanceIndex = h.lastIndexOf(fnName)
@@ -169,4 +170,4 @@ export function getTypescriptCompileFiles(
169170
return configParseResult.fileNames.map(f => f.replace(cwd + '/', ''))
170171
}
171172
return []
172-
}
173+
}

0 commit comments

Comments
 (0)