Skip to content

Commit 9918909

Browse files
committed
Fix typo
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent 9f34c76 commit 9918909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/service/src/interpreters/interpreter_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ pub async fn list_files_from_dal(
178178
let mut ds = op.batch().walk_top_down(&dir)?;
179179
while let Some(de) = ds.try_next().await? {
180180
if de.mode().is_file() {
181-
let path = de.path().trim_start_matches(&prefix).to_string();
181+
let path = de.path().trim_start_matches(&prefix[1..]).to_string();
182182
let meta = de.metadata().await?;
183183
files.push((path, meta));
184184
}

0 commit comments

Comments
 (0)