From 56ec5e24ee6133de390615b6d63655114dd65125 Mon Sep 17 00:00:00 2001 From: Benoit Ranque Date: Mon, 25 Oct 2021 16:23:16 -0400 Subject: [PATCH] correct name of output filenames for functions (fix #2) --- src/writeMetadata.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/writeMetadata.ts b/src/writeMetadata.ts index 7c030a8..1aad03d 100644 --- a/src/writeMetadata.ts +++ b/src/writeMetadata.ts @@ -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 );