mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
+6
-2
@@ -1,3 +1,7 @@
|
||||
#![deny(clippy::unwrap_in_result)]
|
||||
#![deny(clippy::get_unwrap)]
|
||||
#![deny(clippy::unwrap_used)]
|
||||
|
||||
mod config;
|
||||
mod migration;
|
||||
mod platforms;
|
||||
@@ -16,9 +20,9 @@ fn main() -> Result<()> {
|
||||
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
if args.contains(&"--no-ui".to_string()) {
|
||||
ui::run_sync();
|
||||
ui::run_sync()?;
|
||||
} else {
|
||||
ui::run_ui(args);
|
||||
ui::run_ui(args)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user