restructured auto-credentials (#74)

* restructured auto-credentials

* fix clone

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
Wyatt Verchere
2023-04-07 14:43:21 -07:00
committed by GitHub
parent 34005dd2e2
commit 764d75181f
8 changed files with 82 additions and 48 deletions

View File

@@ -332,7 +332,7 @@ impl ProfileRun {
.await?;
let credentials = auth::refresh(id, false).await?;
let proc_lock = profile::run(&path, &credentials).await?;
let proc_lock = profile::run_credentials(&path, &credentials).await?;
let mut proc = proc_lock.write().await;
process::wait_for(&mut proc).await?;