chore: git hooks for linter and formatter

This commit is contained in:
Tunglies
2025-03-13 12:51:20 +08:00
parent 124934b012
commit b57c6e408a
50 changed files with 479 additions and 375 deletions

View File

@@ -65,6 +65,6 @@ impl MihomoManager {
.unwrap()
.to_string();
let token = http::header::HeaderValue::from_str(&auth).unwrap();
return (ws_url, token);
(ws_url, token)
}
}

View File

@@ -1,2 +1,2 @@
pub mod mihomo;
pub mod sysinfo;
pub mod mihomo;

View File

@@ -43,7 +43,6 @@ impl PlatformSpecification {
})
});
Self {
system_name,
system_version,