refactor: Ran cargo clippy & cargo fmt

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-10 13:21:37 +11:00
parent 1aa52c0a21
commit 4983b25702
4 changed files with 10 additions and 7 deletions

View File

@ -151,7 +151,12 @@ impl GameDownloadAgent {
game_id: String,
) -> Result<(), GameDownloadError> {
let mut contexts = Vec::new();
let base_path = DATA_ROOT_DIR.lock().unwrap().join("games").join(game_id.clone()).clone();
let base_path = DATA_ROOT_DIR
.lock()
.unwrap()
.join("games")
.join(game_id.clone())
.clone();
create_dir_all(base_path.clone()).unwrap();
info!("Generating contexts");
for (raw_path, chunk) in manifest {