Skip to content

Commit

Permalink
[wallet] Small improvements on publish result display (MystenLabs#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Jun 9, 2022
1 parent 9d36266 commit fd4ea6c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions crates/sui-core/src/gateway_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,17 @@ impl Display for PublishResponse {
writeln!(writer, "{}", "----- Publish Results ----".bold())?;
writeln!(
writer,
"The newly published package object ID: {:?}",
self.package.object_id
"{}",
format!(
"The newly published package object ID: {:?}\n",
self.package.object_id
)
.bold()
)?;
if !self.created_objects.is_empty() {
writeln!(
writer,
"List of objects created by running module initializers:\n"
"List of objects created by running module initializers:"
)?;
for obj in &self.created_objects {
writeln!(writer, "{}\n", obj)?;
Expand Down

0 comments on commit fd4ea6c

Please sign in to comment.