diff --git a/CHANGELOG.md b/CHANGELOG.md index d75fb32..07dd6b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -### next -- fix occasional additional warning counted - Fix #149 + +### v2.11.1 - 2023/07/13 +- fix warning summary sometimes confused with a warning - Fix #149 ### v2.11.0 - 2023/06/30 diff --git a/Cargo.lock b/Cargo.lock index ffc9ab5..8db89fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,7 +90,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bacon" -version = "2.11.1-dev" +version = "2.11.1" dependencies = [ "anyhow", "cargo_metadata", diff --git a/Cargo.toml b/Cargo.toml index 3f52b8d..304a169 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bacon" -version = "2.11.1-dev" +version = "2.11.1" authors = ["dystroy "] repository = "https://github.com/Canop/bacon" description = "background rust compiler" diff --git a/src/report.rs b/src/report.rs index f4b25a4..eba6c41 100644 --- a/src/report.rs +++ b/src/report.rs @@ -192,7 +192,9 @@ impl Report { } _ => {} } - let Some(location) = line.location() else { continue }; + let Some(location) = line.location() else { + continue; + }; let (_, mut path, file_line, file_column) = regex_captures!(r#"^([^:]+):(\d+):(\d+)$"#, location,) .unwrap_or(("", location, "", ""));