Skip to content

Commit

Permalink
fix(sdk): Fix grammar in error message when no generators are defined (
Browse files Browse the repository at this point in the history
…#3199)

Co-authored-by: prisma-bot <prismabots@gmail.com>
  • Loading branch information
Siddhant Sinha and prisma-bot committed Aug 4, 2020
1 parent 2089409 commit eb3ea11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/packages/sdk/src/utils/missingGeneratorMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { link } from '../link'

export const missingGeneratorMessage = `\n${chalk.blue(
'info',
)} You don't have defined any generator in your ${chalk.bold(
)} You don't have any generators defined in your ${chalk.bold(
'schema.prisma',
)}, so nothing will be generated.
You can define them like this:
Expand All @@ -15,9 +15,9 @@ ${chalk.bold(
}`),
)}`

export const missingModelMessage = `\nYou don't have defined any ${chalk.bold(
'model',
)} in your ${chalk.bold('schema.prisma')}, so nothing will be generated.
export const missingModelMessage = `\nYou don't have any ${chalk.bold(
'models',
)} defined in your ${chalk.bold('schema.prisma')}, so nothing will be generated.
You can define a model like this:
${chalk.bold(
Expand Down

0 comments on commit eb3ea11

Please sign in to comment.