chore(code): simple code cleanup

This commit is contained in:
Alex Zenla
2024-07-20 23:08:59 -07:00
parent 2a107a370f
commit 2a4802a75d
15 changed files with 20 additions and 21 deletions

View File

@ -25,7 +25,7 @@ async fn main() -> Result<()> {
let (context, mut receiver) = OciProgressContext::create();
tokio::task::spawn(async move {
loop {
if (receiver.changed().await).is_err() {
if receiver.changed().await.is_err() {
break;
}
let progress = receiver.borrow_and_update();