Skip to content

Commit

Permalink
fix(generator): wrong apollo server command displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jun 8, 2020
1 parent cefe9dd commit 643ab76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ module.exports = (api, options, rootOptions) => {
}

if (options.addServer) {
api.exitLog(`Start the GraphQL API Server with ${chalk.cyan(`${hasYarn() ? 'yarn' : 'npm'} run apollo:dev`)}`, 'info')
api.exitLog(`Start the GraphQL API Server with ${chalk.cyan(`${hasYarn() ? 'yarn' : 'npm'} run apollo`)}`, 'info')
if (options.addMocking) {
api.exitLog(`Customize the mocks in ${chalk.cyan('apollo-server/mocks.js')}`, 'info')
}
Expand Down

0 comments on commit 643ab76

Please sign in to comment.