Skip to content

Commit

Permalink
Fix bug when using shared output object (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejizba authored Nov 13, 2023
1 parent 8edd622 commit 6e78a78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ export function generic(name: string, options: GenericFunctionOptions): void {
}

if (options.return) {
options.return.name = returnBindingKey;
bindings[options.return.name] = {
bindings[returnBindingKey] = {
...options.return,
direction: 'out',
};
Expand Down

0 comments on commit 6e78a78

Please sign in to comment.