Skip to content

Commit

Permalink
fix: support docker lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
ShakedZrihen authored Jun 6, 2023
1 parent c23faad commit 3e34020
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function extractFileNames(cwd: string, provider: string, functions?: { [k

return _.values(functions)
.map(fn => fn.handler)
.filter(Boolean)
.map(h => {
const fnName = _.last(h.split('.'))
const fnNameLastAppearanceIndex = h.lastIndexOf(fnName)
Expand Down Expand Up @@ -169,4 +170,4 @@ export function getTypescriptCompileFiles(
return configParseResult.fileNames.map(f => f.replace(cwd + '/', ''))
}
return []
}
}

0 comments on commit 3e34020

Please sign in to comment.