Skip to content

Commit

Permalink
fix: graphql folder
Browse files Browse the repository at this point in the history
  • Loading branch information
martin.mueller committed Nov 27, 2020
1 parent 645c5e1 commit a872eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')}`);
};

0 comments on commit a872eb7

Please sign in to comment.