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 57cc363 commit 3e34d9bCopy full SHA for 3e34d9b
src/typescript.ts
@@ -10,9 +10,8 @@ export function extractFileNames(functions: { [key: string]: ServerlessFunction
10
.map(h => {
11
const fnName = _.last(h.split('.'))
12
const fnNameLastAppearanceIndex = h.lastIndexOf(fnName)
13
-
14
// replace only last instance to allow the same name for file and handler
15
- return h.substring(0, fnNameLastAppearanceIndex) + 'ts';
+ return h.substring(0, fnNameLastAppearanceIndex) + 'ts'
16
})
17
}
18
0 commit comments