mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-03 20:41:00 +02:00
Simplify console output formatting in index.rs by removing redundant characters in success message.
This commit is contained in:
parent
17d327a572
commit
75a20eaa2a
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ pub fn handle(
|
||||||
|
|
||||||
if force || !db_path.exists() {
|
if force || !db_path.exists() {
|
||||||
build_index(&project_name, &build_path, &db_path, config)?;
|
build_index(&project_name, &build_path, &db_path, config)?;
|
||||||
println!("{} {} {}", "✔", style("Index built:" ).green(), style(db_path.display()).white().bold());
|
println!("✔ {} {}", style("Index built:" ).green(), style(db_path.display()).white().bold());
|
||||||
} else {
|
} else {
|
||||||
println!("{} {}", style("↩ Index already exists").yellow(), style("(use --force to rebuild)").dim());
|
println!("{} {}", style("↩ Index already exists").yellow(), style("(use --force to rebuild)").dim());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue