- chore: ran cargo fix on the codebase

This commit is contained in:
2025-03-07 21:03:15 -05:00
parent 3b789d0fd4
commit b6f2d3f456
59 changed files with 1324 additions and 523 deletions

View File

@@ -1,6 +1,6 @@
mod launcher;
use std::process::{Command};
use std::process::Command;
use std::{env, io};
use tracing::{debug, error, info, Level};
use url::Url;
@@ -25,7 +25,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let args: Vec<String> = env::args().collect();
if args.len() < 2 {
error!("Usage: launcher <url>");
return Err(std::io::Error::new(std::io::ErrorKind::InvalidInput, "url"))?
return Err(std::io::Error::new(std::io::ErrorKind::InvalidInput, "url"))?;
}
let uri = &args[1];
@@ -44,7 +44,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
"update" => Commands::Update,
other => return Err(format!("Unknown method: {}", other).into()),
};
match action {
Commands::Launch => {
debug!("launching with URL {}", uri);