Skip to content

Commit

Permalink
Update the message for client migration (#17751)
Browse files Browse the repository at this point in the history
fix strings for client migrations
  • Loading branch information
seppzer0 authored Feb 11, 2025
1 parent 1e4f4fe commit d8cadc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conans/client/graph/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _should_migrate_file(file_path):

if _should_migrate_file(compatibility_file) and _should_migrate_file(cppstd_compat_file):
if os.path.exists(compatibility_file) and load(compatibility_file) != _default_compat:
ConanOutput().success("Migration: Successfully updated compatibility.py}")
ConanOutput().success("Migration: Successfully updated compatibility.py")
save(compatibility_file, _default_compat)
if os.path.exists(cppstd_compat_file):
os.remove(cppstd_compat_file)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_migration_profile_checker_plugin(plugin_path, string_replace, new_strin
# Trigger the migrations
t2.run("list")
assert "WARN: Running 2.0.14 Cache DB migration to add LRU column" in t2.out
assert f"Migration: Successfully updated" not in t2.out
assert "Migration: Successfully updated" not in t2.out
contents = load(profile_plugin_path2)
# Our Changes are kept!
assert "This file is from ACME corp, " in contents
Expand Down

0 comments on commit d8cadc2

Please sign in to comment.