Skip to content

Commit 461569d

Browse files
committed
Update replace
1 parent 78718cf commit 461569d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/show-changed-files/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/show-changed-files/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function run(): Promise<void> {
9797
const filePathToUriPath = (link: string): string => {
9898
let path = link
9999
.replace(/^src\/content\/docs/, "")
100-
.replace(/^src\/content\/changelogs-next/, "")
100+
.replace(/^src\/content\/changelogs-next/, "/changelogs-next")
101101
.replace(/index\.mdx$/, "")
102102
.replace(/\.mdx$/, "/");
103103
return slugify(path);

0 commit comments

Comments
 (0)