Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Nov 4, 2024
1 parent f3c3279 commit 218875c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn convert_diagnostics<'a>(
iter: impl IntoIterator<Item = SourceDiagnostic> + 'a,
) -> impl Iterator<Item = Diagnostic<FileId>> + 'a {
iter.into_iter()
.filter(|diagnostic| diagnostic.message.starts_with("unknown font family:"))
.filter(|diagnostic| !diagnostic.message.starts_with("unknown font family:"))
.map(|diagnostic| {
let severity = if diagnostic.severity == Severity::Error {
"error"
Expand Down

0 comments on commit 218875c

Please sign in to comment.