Skip to content

Commit

Permalink
add_warn_for_migrations_with_print
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanchez556 committed Aug 22, 2024
1 parent ea31bd3 commit e074fe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/sozo/src/commands/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ impl BuildArgs {
if exist_prints {
let ui = config.ui();

ui.print(
"Some contracts includes print functions that are not supported on the current network. \
Please remove print functions to ensure compatibility.",
ui.warn(
"Some contracts include `print` functions that are not supported on the current network. \
Please locate and remove these functions from your contract files to ensure compatibility.",
);
}

Expand Down

0 comments on commit e074fe2

Please sign in to comment.