Skip to content

Commit f5e9680

Browse files
keidaxWillLillis
authored andcommitted
fix(cli): propagate error flag in parse summary
1 parent 9515be4 commit f5e9680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ pub fn parse_file_at_path(
719719

720720
opts.stats.parse_summaries.push(ParseSummary {
721721
file: path.to_path_buf(),
722-
successful: true,
722+
successful: first_error.is_none(),
723723
start: Some(tree.root_node().start_position().into()),
724724
end: Some(tree.root_node().end_position().into()),
725725
duration: Some(parse_duration),

0 commit comments

Comments
 (0)