From a872eb7f785e973b8dd8a1646c02d339708abf9c Mon Sep 17 00:00:00 2001 From: "martin.mueller" Date: Fri, 27 Nov 2020 18:39:19 +0100 Subject: [PATCH] fix: graphql folder --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6a851f0..fb9d231 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,5 +24,5 @@ export class AlpsGraphQL extends appsync.GraphqlApi { function unified(alpSpec: string) { // eslint-disable-next-line @typescript-eslint/no-require-imports const { execSync } = require('child_process'); - execSync(`node_modules/unified/src/index.js -f ${alpSpec} -t s -o tmp/schema.graphql`); + execSync(`node_modules/unified/src/index.js -f ${alpSpec} -t s -o ${join(__dirname, '../tmp/schema.graphql')}`); }; \ No newline at end of file