Skip to content

Commit

Permalink
chore(psl): address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Nov 27, 2024
1 parent 2a3be98 commit fe44079
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions psl/diagnostics/src/warning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl DatamodelWarning {
span: Span,
) -> DatamodelWarning {
let message = format!(
"Preview feature \"{deprecated_feature}\" has been renamed as \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}."
"Preview feature \"{deprecated_feature}\" has been renamed to \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}."
);
Self::new(message, span)
}
Expand All @@ -48,7 +48,7 @@ impl DatamodelWarning {
span: Span,
) -> DatamodelWarning {
let message = format!(
"On `provider = \"{provider}\"`, preview feature \"{deprecated_feature}\" has been renamed as \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}."
"On `provider = \"{provider}\"`, preview feature \"{deprecated_feature}\" has been renamed to \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}."
);
Self::new(message, span)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ model Blog {
title String
@@index([content, title])
}
// [1;93mwarning[0m: [1mOn `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed as "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres.[0m
// [1;93mwarning[0m: [1mOn `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed to "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres.[0m
// --> schema.prisma:3
//  | 
//  2 |  provider = "prisma-client-js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ model Blog {
title String
@@index([content, title])
}
// [1;93mwarning[0m: [1mOn `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed as "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres.[0m
// [1;93mwarning[0m: [1mOn `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed to "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres.[0m
// --> schema.prisma:3
//  | 
//  2 |  provider = "prisma-client-js"
Expand Down

0 comments on commit fe44079

Please sign in to comment.