Skip to content

Commit

Permalink
correct name of output filenames for functions (fix #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitRanque committed Oct 25, 2021
1 parent 8bd9679 commit 56ec5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/writeMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export function writeMetadata(
'databases',
source.name,
typeof fn.function === 'string'
? `!include ${fn.function}.yaml`
: `!include ${fn.function.schema}_${fn.function.name}.yaml`,
? `${fn.function}.yaml`
: `${fn.function.schema}_${fn.function.name}.yaml`,
],
fn
);
Expand Down

0 comments on commit 56ec5e2

Please sign in to comment.