We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1af501 commit ee5f1bcCopy full SHA for ee5f1bc
1 file changed
src/commands/all.rs
@@ -68,12 +68,16 @@ fn simplify_and_display_json(json: Value) {
68
println!("REPOSITORY URLS");
69
println!(" {:<14}: {}", "HTML URL", html_url);
70
println!(" {:<14}: {}", "Clone URL", clone_url);
71
- println!(" {:<14}: {}", "Homepage", homepage);
+ if homepage != &"" && homepage != &"None" {
72
+ println!(" {:<14}: {}", "Homepage", homepage);
73
+ }
74
println!();
75
println!("DEVELOPMENT DETAILS");
76
println!(" {:<14}: {}", "Language", language);
77
println!(" {:<14}: {}", "Default branch", default_branch);
- println!(" {:<14}: {}", "License", license);
78
+ if license != &"None" {
79
+ println!(" {:<14}: {}", "License", license);
80
81
82
println!("IMPORTANT DATES");
83
println!(" {:<14}: {}", "Created at", pretty_dates(created_at));
0 commit comments