From 97286612b7b77e11abcafb3bfa91897f8fb0cd62 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 22 Jan 2024 12:28:32 -0800 Subject: [PATCH] path --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3680e80..6bb4814 100644 --- a/src/main.rs +++ b/src/main.rs @@ -995,7 +995,7 @@ async fn decompile_history_into_git(config:DecompileHistoryConfig)->AResult<()>{ versions_path.push("versions.json"); let asset_list:Vec=serde_json::from_reader(std::fs::File::open(versions_path)?)?; - let repo=git2::Repository::init(config.output_folder.clone())?; + let repo=git2::Repository::init(config.output_folder.as_path())?; //decompile all versions futures::stream::iter(asset_list.into_iter()