drop a lint that only fires on command macro noise
This commit is contained in:
@@ -1945,6 +1945,12 @@ async fn export(app: AppHandle, state: State<'_, AppState>, request: ExportReque
|
||||
})
|
||||
}
|
||||
|
||||
// Process startup: if the exe directory cannot be resolved or config.toml
|
||||
// cannot be created there, there is no degraded mode worth continuing into.
|
||||
#[allow(
|
||||
clippy::expect_used,
|
||||
reason = "fatal startup conditions with no sensible recovery"
|
||||
)]
|
||||
pub fn run() {
|
||||
let app_dir = exe_dir().expect("resolve exe directory");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user