Skip to content

Commit

Permalink
chore: improve grammar in "Missing dep" error (#4658)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj authored Dec 5, 2023
1 parent 775e201 commit 1df2991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/pkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function ensurePackageInstalled(

const promptInstall = !isCI && process.stdout.isTTY

process.stderr.write(c.red(`${c.inverse(c.red(' MISSING DEP '))} Can not find dependency '${dependency}'\n\n`))
process.stderr.write(c.red(`${c.inverse(c.red(' MISSING DEPENDENCY '))} Cannot find dependency '${dependency}'\n\n`))

if (!promptInstall)
return false
Expand Down

0 comments on commit 1df2991

Please sign in to comment.