Skip to content

Commit

Permalink
fix: clippy + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 7, 2024
1 parent ea7d5bb commit 0c9d708
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src-tauri/src/injection/client_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ pub fn load_mods_js() -> String {
let status = response.status();

if status != 200 {
log!("Failed to load client mod JS for {}: Status {:?}", mod_name, status);
log!(
"Failed to load client mod JS for {}: Status {:?}",
mod_name,
status
);

if mod_name == "Shelter" {
log!("Shelter detected: loading fallback!");
Expand Down Expand Up @@ -152,7 +156,11 @@ pub fn load_mods_css() -> String {
let status = response.status();

if status != 200 {
log!("Failed to load client mod CSS for {}: Status {:?}", mod_name, status);
log!(
"Failed to load client mod CSS for {}: Status {:?}",
mod_name,
status
);
return String::new();
}

Expand Down

0 comments on commit 0c9d708

Please sign in to comment.