Simplify console output formatting in index.rs by removing redundant characters in success message.

This commit is contained in:
elipeter 2025-06-23 19:39:38 +02:00
parent 17d327a572
commit 75a20eaa2a

View file

@ -23,7 +23,7 @@ pub fn handle(
if force || !db_path.exists() {
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 {
println!("{} {}", style("↩ Index already exists").yellow(), style("(use --force to rebuild)").dim());
}