Skip to content

Commit b23198d

Browse files
authored
Add warn_tag="deprecated" to unix_path_package_info_legacy warning message (#18233)
Changelog: Omit Docs: Omit Closes #18232
2 parents d1a38ef + f0d38a2 commit b23198d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conan/tools/microsoft/subsystems.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ def unix_path_package_info_legacy(conanfile, path, path_flavor=None):
1010
message = "The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not " \
1111
"perform path conversions. This is retained for compatibility with Conan 1.x " \
1212
"and will be removed in a future version."
13-
conanfile.output.warning(message)
13+
conanfile.output.warning(message, warn_tag="deprecated")
1414
return path

0 commit comments

Comments
 (0)