aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/github
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-08-05 14:44:52 +0200
committerGitHub <noreply@github.com>2023-08-05 14:44:52 +0200
commit529451f4d2dc84b3835920ea392dc33d2bbe5b14 (patch)
treeb4cbb7efd7d5465b07e79cdc3f95026735fa3bad /src-tauri/src/github
parentdd05289e671fe31cc6b823983e0df43df66bec0c (diff)
downloadFlightCore-529451f4d2dc84b3835920ea392dc33d2bbe5b14.tar.gz
FlightCore-529451f4d2dc84b3835920ea392dc33d2bbe5b14.zip
feat: Strip trailing newline from release notes (#486)
Diffstat (limited to 'src-tauri/src/github')
-rw-r--r--src-tauri/src/github/mod.rs1
1 files changed, 1 insertions, 0 deletions
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>) -> String {
}
}
+ let release_notes = release_notes.trim_end_matches('\n').to_string();
release_notes
}