feat: remove test bucket creation code from main

Removed the test bucket creation code from the main function as it was only used for testing purposes. The production code should not include test functionality in the main execution path. This cleanup improves code quality and separation of concerns.
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-11-04 10:21:07 -03:00
parent 866aafcd76
commit 423f9c3433

View file

@ -63,11 +63,6 @@ use crate::bot::BotOrchestrator;
#[cfg(not(feature = "desktop"))] #[cfg(not(feature = "desktop"))]
#[tokio::main] #[tokio::main]
async fn main() -> std::io::Result<()> { async fn main() -> std::io::Result<()> {
// Test bucket creation
match create_bucket::create_bucket("test-bucket") {
Ok(_) => println!("Bucket created successfully"),
Err(e) => eprintln!("Failed to create bucket: {}", e),
}
let args: Vec<String> = std::env::args().collect(); let args: Vec<String> = std::env::args().collect();
if args.len() > 1 { if args.len() > 1 {