Skip to content

Commit

Permalink
chore(ls): preview features error message wording (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
Druue authored Jun 17, 2024
1 parent 7273592 commit 2740a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('Linting', () => {
[
{
message: `The preview feature "huh" is not known. Expected one of: ${previewFeatures.join(', ')}.
If this is unexpected, it might be due to your Prisma VS Code Extension being out of date.`,
If this is unexpected, it might be due to your editor's Prisma Extension being out of date.`,
range: {
start: { line: 2, character: 22 },
end: { line: 2, character: 29 },
Expand Down
2 changes: 1 addition & 1 deletion packages/language-server/src/lib/MessageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function handleDiagnosticsRequest(
end: document.positionAt(diag.end),
},
message: previewNotKnownRegex.test(diag.text)
? `${diag.text}.\nIf this is unexpected, it might be due to your Prisma VS Code Extension being out of date.`
? `${diag.text}.\nIf this is unexpected, it might be due to your editor's Prisma Extension being out of date.`
: diag.text,
source: 'Prisma',
}
Expand Down

0 comments on commit 2740a2b

Please sign in to comment.