From 529451f4d2dc84b3835920ea392dc33d2bbe5b14 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Sat, 5 Aug 2023 14:44:52 +0200 Subject: feat: Strip trailing newline from release notes (#486) --- src-tauri/src/github/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/github/mod.rs b/src-tauri/src/github/mod.rs index bc1ccfe8..f35b64a1 100644 --- a/src-tauri/src/github/mod.rs +++ b/src-tauri/src/github/mod.rs @@ -180,6 +180,7 @@ fn generate_flightcore_release_notes(commits: Vec) -> String { } } + let release_notes = release_notes.trim_end_matches('\n').to_string(); release_notes } -- cgit v1.2.3