Trim git comment to remove trailing \n

This commit is contained in:
evanpelle
2025-09-11 21:29:10 -07:00
parent 50dd062945
commit 95ad22873f
+1 -1
View File
@@ -269,7 +269,7 @@ export class JoinPrivateLobbyModal extends LitElement {
// commit.txt is not found when running locally
myGitCommit = "DEV";
} else if (gitCommitResponse.status === 200) {
myGitCommit = await gitCommitResponse.text();
myGitCommit = (await gitCommitResponse.text()).trim();
} else {
console.error("Error getting git commit:", gitCommitResponse.status);
return "error";