comment code
This commit is contained in:
parent
c4508480c1
commit
4116eaf829
@ -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(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user