From 30b7b93ba8682c5e4124e641441297aac6e27c0a Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Tue, 24 Oct 2023 11:13:27 +0200 Subject: [PATCH] fix(bot): consider `zwave_js` to be a valid logfile name --- .github/bot-scripts/ensureLogfileInDiscussion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/bot-scripts/ensureLogfileInDiscussion.js b/.github/bot-scripts/ensureLogfileInDiscussion.js index 48caa6821673..204d5e1b3f6b 100644 --- a/.github/bot-scripts/ensureLogfileInDiscussion.js +++ b/.github/bot-scripts/ensureLogfileInDiscussion.js @@ -3,7 +3,7 @@ /// const zjsLogRegex = - /\[.*\]\(http.*zwavejs_.*\.(log|txt|zip|t?gz|(log|txt)\.(zip|t?gz))\)/; + /\[.*\]\(http.*(zwavejs_|zwave_js).*\.(log|txt|zip|t?gz|(log|txt)\.(zip|t?gz))\)/; const markdownLinkRegex = /\[.*\]\(http.*\)/; const codeBlockRegex = /`{3,4}(.*?)`{3,4}/s;