feat: 更新文件摘要表格中的分隔符转义
All checks were successful
CI Monitor MIflow / build-image (push) Successful in 1m47s
All checks were successful
CI Monitor MIflow / build-image (push) Successful in 1m47s
This commit is contained in:
parent
878532997b
commit
4c3acbb787
@ -156,7 +156,10 @@ ${summarizedMr}
|
||||
| 文件路径 | 变更摘要 |
|
||||
| --- | --- |
|
||||
${[...summarizedFileMap]
|
||||
.map(([path, summary]) => `| \`${shortenPath(path)}\` | ${summary} |`)
|
||||
.map(
|
||||
([path, summary]) =>
|
||||
`| \`${shortenPath(path)}\` | ${summary.replaceAll("|", "\\|")} |`
|
||||
)
|
||||
.join("\n")}
|
||||
`
|
||||
this.logger.debug(`Summarized comment: ${summarizedComment}`)
|
||||
|
@ -3,7 +3,7 @@
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "bun run index.ts",
|
||||
"start": "NODE_ENV=production bun run index.ts",
|
||||
"dev": "NODE_ENV=dev bun run index.ts --watch",
|
||||
"lint": "eslint --fix .",
|
||||
"prepare": "husky",
|
||||
|
@ -18,7 +18,7 @@ test("manageMrEvent", async () => {
|
||||
id: 139032,
|
||||
},
|
||||
object_attributes: {
|
||||
iid: 502,
|
||||
iid: 505,
|
||||
state: "opened",
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user