Skip to content

Commit 7c91d12

Browse files
Update bin/post-preview-url-comment/util.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 82eb836 commit 7c91d12

File tree

1 file changed

+1
-1
lines changed
  • bin/post-preview-url-comment

1 file changed

+1
-1
lines changed

bin/post-preview-url-comment/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { execSync } from "node:child_process";
33
import { CONTENT_BASE_PATH } from "./constants";
44

55
export const filenameToPath = (filename: string) => {
6-
let segments = filename
6+
const segments = filename
77
.replace(CONTENT_BASE_PATH, "")
88
.replace(".mdx", "")
99
.split("/")

0 commit comments

Comments
 (0)