Skip to content

Commit

Permalink
chore: clean up error message (#7859)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com>
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
  • Loading branch information
4 people committed Jun 25, 2021
1 parent f19b157 commit ad8f073
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/packages/sdk/src/predefinedGeneratorResolvers.ts
Expand Up @@ -196,11 +196,11 @@ function checkTypeScriptVersion() {
const currentVersion = pjson.version
if (semverLt(currentVersion, minVersion)) {
logger.warn(
`Your ${chalk.bold(
'typescript',
)} version is ${currentVersion}, which is outdated. Please update it to ${chalk.bold(
`Prisma detected that your ${chalk.bold(
'TypeScript',
)} version ${currentVersion} is outdated. If you want to use Prisma Client with TypeScript please update it to version ${chalk.bold(
minVersion,
)} or ${chalk.bold('newer')} in order to use Prisma Client.`,
)} or ${chalk.bold('newer')}`,
)
}
}
Expand Down

0 comments on commit ad8f073

Please sign in to comment.