mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(workflow): Fix regexp error when commit via vscode (#9805)
Signed-off-by: MisLink <gjq.uoiai@outlook.com>
This commit is contained in:
@@ -4,7 +4,7 @@ const whiteListedUser = ['dependabot[bot]', 'pull[bot]']; // dependabot and down
|
||||
module.exports = async ({ github, context, core }, body, number, sender) => {
|
||||
core.debug(`sender: ${sender}`);
|
||||
core.debug(`body: ${body}`);
|
||||
const m = body.match(/```routes\r\n((.|\r\n)*)```/);
|
||||
const m = body.match(/```routes(?:\n|\r\n)((.|\n|\r\n)*)```/);
|
||||
core.debug(`match: ${m}`);
|
||||
let res = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user