From 6cf1269c737fe259f167569735b2407d327e9e64 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Wed, 4 Dec 2024 16:10:46 +0800 Subject: [PATCH] fix: oli clippy and CI file (#5389) --- .github/workflows/ci_bin_oli.yml | 2 +- bin/oli/src/commands/cp.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_bin_oli.yml b/.github/workflows/ci_bin_oli.yml index f6877485f785..fc146eea8db8 100644 --- a/.github/workflows/ci_bin_oli.yml +++ b/.github/workflows/ci_bin_oli.yml @@ -25,7 +25,7 @@ on: branches: - main paths: - - "bin/oay/**" + - "bin/oli/**" - "core/**" - ".github/workflows/ci_bin_oli.yml" diff --git a/bin/oli/src/commands/cp.rs b/bin/oli/src/commands/cp.rs index 09d7e2d73f03..ed954a3df1ae 100644 --- a/bin/oli/src/commands/cp.rs +++ b/bin/oli/src/commands/cp.rs @@ -99,7 +99,7 @@ impl CopyCmd { .into_futures_async_read(0..meta.content_length()) .await?; - let copy_progress = CopyProgress::new(&meta, de.path().to_string()); + let copy_progress = CopyProgress::new(meta, de.path().to_string()); let mut writer = dst_op .writer(&dst_root.join(fp).to_string_lossy()) .await?