Skip to content

Commit

Permalink
Added back trim fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CEbbinghaus committed Feb 17, 2024
1 parent 264c8d1 commit 198528e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/versioning.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { fileURLToPath } from "url";

export const Version = ReadPackageVersion();
function ReadPackageVersion() {
return readFileSync(resolve(dirname(fileURLToPath(import.meta.url)), "../backend/version"), { encoding: "utf8" });
return readFileSync(resolve(dirname(fileURLToPath(import.meta.url)), "../backend/version"), { encoding: "utf8" }).trim();
}

function WriteVersionToPackage(file, version) {
Expand Down

0 comments on commit 198528e

Please sign in to comment.