Skip to content

Commit

Permalink
fix: don't use __dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya committed Feb 14, 2019
1 parent c2ff286 commit f94ce11
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 @@ -10,7 +10,7 @@ async function bootstrap() {
const schema = await buildSchema({
resolvers: [ChurchResolver],
// automatically create `schema.gql` file with schema definition in current folder
emitSchemaFile: path.resolve(__dirname, 'schema.gql'),
emitSchemaFile: path.resolve('./dist/schema.gql'),
});

// Create GraphQL server
Expand Down

0 comments on commit f94ce11

Please sign in to comment.