Skip to content

Commit

Permalink
release 2.6.1 (#471)
Browse files Browse the repository at this point in the history
* fix clippy

* release 2.6.1
  • Loading branch information
MarkSackerberg authored Mar 5, 2024
1 parent a29b8ce commit 886c6f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sugar-cli"
version = "2.6.0"
version = "2.6.1"
edition = "2021"
description = "Command line tool for creating and managing Metaplex Candy Machines."
license = "Apache-2.0"
Expand Down
8 changes: 4 additions & 4 deletions src/show/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,23 +161,23 @@ pub fn process_show(args: ShowArgs) -> Result<()> {
} else {
style(config_line_settings.prefix_name.as_str())
};
print_with_style(" ", "prefix_name", &prefix_name.to_string());
print_with_style(" ", "prefix_name", prefix_name.to_string());
print_with_style(
" ",
"name_length",
&config_line_settings.name_length.to_string(),
config_line_settings.name_length.to_string(),
);

let prefix_uri = if config_line_settings.prefix_uri.is_empty() {
style("<empty>").dim()
} else {
style(config_line_settings.prefix_uri.as_str())
};
print_with_style(" ", "prefix_uri", &prefix_uri.to_string());
print_with_style(" ", "prefix_uri", prefix_uri.to_string());
print_with_style(
" ",
"uri_length",
&config_line_settings.uri_length.to_string(),
config_line_settings.uri_length.to_string(),
);
print_with_style(
" ",
Expand Down

0 comments on commit 886c6f0

Please sign in to comment.