Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blarfoon committed Jan 10, 2025
1 parent 872a709 commit ab8970f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/all_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
components: clippy, rustfmt
- name: Prepare
run: |
echo "" > crates/carbon_app/src/db.rs
echo "" > crates/carbon_repos/src/db.rs
cargo fmt --check
- run: |
npm run sudo-init
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
components: clippy, rustfmt
- name: Prepare
run: |
echo "" > crates/carbon_app/src/db.rs
echo "" > crates/carbon_repos/src/db.rs
cargo fmt --check
- run: |
npm run sudo-init
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- name: Prepare
shell: bash
run: |
echo "" > crates/carbon_app/src/db.rs
echo "" > crates/carbon_repos/src/db.rs
cargo fmt --check
- name: init
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions crates/carbon_app/src/managers/instance/installer/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use super::{Instance, InstanceData, InstanceType, InvalidInstanceIdError};
use carbon_repos::db::{
curse_forge_mod_cache as cfdb, mod_file_cache as fcdb, mod_metadata as metadb,
modrinth_mod_cache as mrdb,
};
use crate::{
api::{
keys::instance::{INSTANCE_DETAILS, INSTANCE_MODS},
Expand Down Expand Up @@ -33,6 +29,10 @@ use carbon_platforms::{
},
ModChannel,
};
use carbon_repos::db::{
curse_forge_mod_cache as cfdb, mod_file_cache as fcdb, mod_metadata as metadb,
modrinth_mod_cache as mrdb,
};
use carbon_rt_path::InstancePath;
use futures::future::Future;
use std::{ops::Deref, pin::Pin, sync::Arc, time::Duration};
Expand Down
8 changes: 4 additions & 4 deletions crates/carbon_app/src/managers/instance/mods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ use super::{
InstanceId, InstanceManager, InvalidInstanceIdError,
};
use crate::api::keys::instance::INSTANCE_MODS;
use carbon_repos::db::{
curse_forge_mod_cache as cfdb, mod_file_cache as fcdb, mod_metadata as metadb,
modrinth_mod_cache as mrdb,
};
use crate::domain::instance::info::{GameVersion, ModLoaderType};
use crate::domain::instance::{self as domain, info};
use crate::managers::instance::InstanceType;
Expand All @@ -23,6 +19,10 @@ use carbon_platforms::modrinth::version::VersionType;
use carbon_platforms::{
curseforge, modrinth, ModChannel, ModChannelWithUsage, ModPlatform, ModSources, RemoteVersion,
};
use carbon_repos::db::{
curse_forge_mod_cache as cfdb, mod_file_cache as fcdb, mod_metadata as metadb,
modrinth_mod_cache as mrdb,
};
use chrono::{DateTime, FixedOffset, Utc};
use futures::Future;
use std::borrow::Cow;
Expand Down
12 changes: 6 additions & 6 deletions crates/carbon_app/src/managers/metadata/cache/curseforge/mod.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
use super::BundleSender;
use super::ModplatformCacher;
use super::UpdateNotifier;
use carbon_repos::db::read_filters::DateTimeFilter;
use carbon_repos::db::read_filters::IntFilter;
use carbon_repos::db::{
curse_forge_mod_cache as cfdb, curse_forge_mod_image_cache as cfimgdb, mod_file_cache as fcdb,
mod_metadata as metadb,
};
use crate::domain::instance::info::ModLoaderType;
use crate::domain::instance::InstanceId;
use crate::managers::App;
Expand All @@ -20,6 +14,12 @@ use carbon_platforms::curseforge::FileReleaseType;
use carbon_platforms::curseforge::FingerprintsMatchesResult;
use carbon_platforms::curseforge::Mod;
use carbon_platforms::ModChannel;
use carbon_repos::db::read_filters::DateTimeFilter;
use carbon_repos::db::read_filters::IntFilter;
use carbon_repos::db::{
curse_forge_mod_cache as cfdb, curse_forge_mod_image_cache as cfimgdb, mod_file_cache as fcdb,
mod_metadata as metadb,
};
use itertools::Itertools;
use std::collections::HashMap;
use std::collections::VecDeque;
Expand Down

0 comments on commit ab8970f

Please sign in to comment.