diff --git a/README.md b/README.md index bc4574b..3550ba0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ npm install git+https://github.com/BenoitRanque/hasura-metadata-merge.git To install a specific version, append the tag to the uri like so: ```bash -npm install git+https://github.com/BenoitRanque/hasura-metadata-merge.git#1.1.1 +npm install git+https://github.com/BenoitRanque/hasura-metadata-merge.git#1.1.4 ``` #### Usage diff --git a/dist/writeMetadata.js b/dist/writeMetadata.js index d58c4f3..7d9bb06 100644 --- a/dist/writeMetadata.js +++ b/dist/writeMetadata.js @@ -136,9 +136,10 @@ function writeMetadata(outputDir, metadata) { outputDir, 'databases', source.name, + 'functions', 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); }); }