Skip to content

Commit

Permalink
fix(bot): consider zwave_js to be a valid logfile name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Oct 24, 2023
1 parent 1561b35 commit 30b7b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/bot-scripts/ensureLogfileInDiscussion.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// <reference path="types.d.ts" />

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;

Expand Down

0 comments on commit 30b7b93

Please sign in to comment.