Skip to content

Commit 40e67a4

Browse files
committed
Fix cargo fmt formatting in scanner.rs
1 parent 2a0a096 commit 40e67a4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

crates/runtime/src/skills/scanner.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,7 @@ impl SkillScanner {
503503
.to_string();
504504

505505
// Check file size before reading
506-
let file_size = entry_path
507-
.metadata()
508-
.map(|m| m.len())
509-
.unwrap_or(0);
506+
let file_size = entry_path.metadata().map(|m| m.len()).unwrap_or(0);
510507

511508
if file_size > self.limits.max_file_size {
512509
skipped += 1;

0 commit comments

Comments
 (0)