Skip to content

Commit

Permalink
refactor: simplify main a bit (prefix-dev#2767)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian authored Dec 30, 2024
1 parent de96ca9 commit a6110d3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#[tokio::main]
pub async fn main() {
if let Err(err) = pixi::cli::execute().await {
eprintln!("{err:?}");
std::process::exit(1);
}
pub async fn main() -> miette::Result<()> {
pixi::cli::execute().await
}

0 comments on commit a6110d3

Please sign in to comment.