Skip to content

Commit

Permalink
fix: unable to open dme with minor warns
Browse files Browse the repository at this point in the history
fixes #326
  • Loading branch information
SpaiR committed Nov 20, 2024
1 parent b2a84e5 commit ea18db5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v2.14.1.alpha

* Fixed an issue where the editor would not open projects with minor warnings.

# v2.14.0.alpha

* Bumped SpaceManiac/SpacemanDMM BYOND parser to the latest.
Expand Down
2 changes: 1 addition & 1 deletion third_party/sdmmparser/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn errors_message(ctx: &Context) -> Option<String> {
let ctx_e = ctx.errors();
let errors: Vec<_> = ctx_e
.iter()
.filter(|e| e.severity() <= dm::Severity::Info)
.filter(|e| e.severity() == dm::Severity::Error)
.collect();

if errors.is_empty() {
Expand Down

0 comments on commit ea18db5

Please sign in to comment.