Skip to content

Commit be7c683

Browse files
Rel1cxCopilot
andauthored
Update scripts/effects/version.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: REL1CX <[email protected]>
1 parent ee2b3b9 commit be7c683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/effects/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export const version = Fn.pipe(
77
FileSystem.FileSystem,
88
Effect.flatMap((fs) => fs.readFileString("VERSION", "utf8")),
99
Effect.map(Str.trim),
10-
Effect.map(Str.replace("v", "")),
10+
Effect.map(Str.replace(/^v/, "")),
1111
);

0 commit comments

Comments
 (0)