Skip to content

Commit 9f381c5

Browse files
committed
fix: update script
1 parent d909f7b commit 9f381c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/update-readme.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ fs.writeFileSync(
4343
/\(https:\/\/ota-meshi.github.io\/eslint-plugin-jsonc([^\n\r]*?).html/gu,
4444
"(.$1.md"
4545
)
46+
.replace(
47+
/\[LICENSE\]\(LICENSE\)/u,
48+
"[LICENSE](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/LICENSE)"
49+
)
4650
.replace(/\(https:\/\/ota-meshi.github.io\/eslint-plugin-jsonc/gu, "(.")
4751
.replace(/\n{3,}/gu, "\n\n"),
4852
"utf8"

0 commit comments

Comments
 (0)