From 4116eaf829b6ba48564bf4538cae75d78b7c36ab Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 28 Dec 2024 21:10:10 -0800 Subject: [PATCH] comment code --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 5181388..5c269f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -335,6 +335,7 @@ async fn upload_scripts(config:UploadConfig)->Result<(),ScriptUploadError>{ let cookie=submissions_api::Cookie::new(&config.session_id).map_err(ScriptUploadError::Cookie)?; let api=&submissions_api::external::Context::new(config.api_url,cookie).map_err(ScriptUploadError::Reqwest)?; + // load all script files let ( allowed_set_result, allowed_map_result, @@ -409,6 +410,7 @@ async fn upload_scripts(config:UploadConfig)->Result<(),ScriptUploadError>{ ).await.map_err(ScriptUploadError::GOCPolicyBlocked) }); + // run futures tokio::try_join!(replace_fut,allowed_fut,blocked_fut)?; Ok(())