Improve repo web message

This commit is contained in:
Wildan M 2026-03-07 08:12:33 +07:00
parent a1fb9b1a8d
commit b7eebe7576
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
2 changed files with 1 additions and 1 deletions

View File

@ -283,6 +283,7 @@ fn publish_packages(config: &CliConfig) -> anyhow::Result<()> {
output_file.write_all(output.as_bytes())?;
if let Some(conf) = &config.web {
eprintln!("\x1b[01;38;5;155mrepo - generating web content\x1b[0m");
generate_web(&repository.packages.keys().cloned().collect(), conf);
}
Ok(())

View File

@ -284,7 +284,6 @@ pub fn generate_html_index(
),
);
println!("Generating web content to {}", index_path.display());
fs::write(index_path, html).expect("Failed to write index HTML file");
}