Skip to content

Commit

Permalink
[FIX] comet version string has extra newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Etaash-mathamsetty committed Nov 4, 2024
1 parent 8bd1165 commit 260d5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/utils/helperBinaries/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function getCometVersion(): Promise<string> {

if (error) return 'invalid'

return stdout.toString()
return stdout.toString().trimEnd()
}

async function getNileVersion(): Promise<string> {
Expand Down

0 comments on commit 260d5d4

Please sign in to comment.