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]
|
${[...summarizedFileMap]
|
||||||
.map(([path, summary]) => `| \`${shortenPath(path)}\` | ${summary} |`)
|
.map(
|
||||||
|
([path, summary]) =>
|
||||||
|
`| \`${shortenPath(path)}\` | ${summary.replaceAll("|", "\\|")} |`
|
||||||
|
)
|
||||||
.join("\n")}
|
.join("\n")}
|
||||||
`
|
`
|
||||||
this.logger.debug(`Summarized comment: ${summarizedComment}`)
|
this.logger.debug(`Summarized comment: ${summarizedComment}`)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"module": "index.ts",
|
"module": "index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "bun run index.ts",
|
"start": "NODE_ENV=production bun run index.ts",
|
||||||
"dev": "NODE_ENV=dev bun run index.ts --watch",
|
"dev": "NODE_ENV=dev bun run index.ts --watch",
|
||||||
"lint": "eslint --fix .",
|
"lint": "eslint --fix .",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
|
@ -18,7 +18,7 @@ test("manageMrEvent", async () => {
|
|||||||
id: 139032,
|
id: 139032,
|
||||||
},
|
},
|
||||||
object_attributes: {
|
object_attributes: {
|
||||||
iid: 502,
|
iid: 505,
|
||||||
state: "opened",
|
state: "opened",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user