Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 4f90a29

Browse files
author
Hendrik van Antwerpen
committed
Formatting
1 parent fd195f0 commit 4f90a29

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tree-sitter-stack-graphs/src/cli/analyze.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,23 @@ impl AnalyzeArgs {
7777
.filter(|e| e.file_type().is_file())
7878
{
7979
let source_path = source_entry.path();
80-
if let Err(e) = self.analyze_file_with_context(source_root, source_path, loader) {
81-
eprintln!("Skipping file {} due to analysis failure {}", source_path.display(), e.to_string());
80+
if let Err(e) = self.analyze_file_with_context(source_root, source_path, loader)
81+
{
82+
eprintln!(
83+
"Skipping file {} due to analysis failure {}",
84+
source_path.display(),
85+
e.to_string()
86+
);
8287
}
8388
}
8489
} else {
8590
let source_root = source_path.parent().unwrap();
8691
if let Err(e) = self.analyze_file_with_context(source_root, source_path, loader) {
87-
eprintln!("Skipping file {} due to analysis failure {}", source_path.display(), e.to_string());
92+
eprintln!(
93+
"Skipping file {} due to analysis failure {}",
94+
source_path.display(),
95+
e.to_string()
96+
);
8897
};
8998
}
9099
}

0 commit comments

Comments
 (0)