Skip to content

Commit 6059dda

Browse files
committed
Update info message
1 parent 5e85889 commit 6059dda

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/ty/tests/cli/python_environment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ fn src_root_deprecation_warning_with_environment_root() -> anyhow::Result<()> {
993993
4 |
994994
5 | [tool.ty.environment]
995995
|
996-
info: The `src.root` is ignored in favor of the `environment.root` setting
996+
info: The `src.root` setting was ignored in favor of the `environment.root` setting
997997
998998
Found 1 diagnostic
999999
@@ -1039,7 +1039,7 @@ fn environment_root_takes_precedence_over_src_root() -> anyhow::Result<()> {
10391039
4 |
10401040
5 | [tool.ty.environment]
10411041
|
1042-
info: The `src.root` is ignored in favor of the `environment.root` setting
1042+
info: The `src.root` setting was ignored in favor of the `environment.root` setting
10431043
10441044
Found 1 diagnostic
10451045

crates/ty_project/src/metadata/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl Options {
281281
if self.environment.or_default().root.is_some() {
282282
diagnostic = diagnostic.sub(SubDiagnostic::new(
283283
Severity::Info,
284-
"The `src.root` is ignored in favor of the `environment.root` setting",
284+
"The `src.root` setting was ignored in favor of the `environment.root` setting",
285285
));
286286
}
287287

0 commit comments

Comments
 (0)