Skip to content

Commit

Permalink
format: don't fail silently on invalid input anymore (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham authored Jan 5, 2024
1 parent 29f4464 commit 77b9c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn format(mut input: impl Read, mut output: impl Write) -> Result<(), Format
&grammar,
topiary::Operation::Format {
skip_idempotence: true,
tolerate_parsing_errors: true,
tolerate_parsing_errors: false,
},
)
.map_err(FormatError)
Expand Down

0 comments on commit 77b9c57

Please sign in to comment.