Skip to content

Commit b9d3ae4

Browse files
committed
Fix package individually non-nodejs runtime issue
1 parent 256540c commit b9d3ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class TypeScriptPlugin {
279279
}
280280

281281
if (service.package.individually) {
282-
const functionNames = service.getAllFunctions()
282+
const functionNames = Object.keys(this.functions)
283283
functionNames.forEach(name => {
284284
service.functions[name].package.artifact = path.join(
285285
this.originalServicePath,

0 commit comments

Comments
 (0)