This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bot.git
The following commit(s) were added to refs/heads/master by this push:
new 4b953ba fix: make doc missing check case-insensitive
4b953ba is described below
commit 4b953bab0dbf1b8ffd8156cfa0620efd4bf2b0e0
Author: plainheart <[email protected]>
AuthorDate: Fri Jun 24 10:01:10 2022 +0800
fix: make doc missing check case-insensitive
---
src/util.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/util.js b/src/util.js
index 0f819e9..9b5deff 100644
--- a/src/util.js
+++ b/src/util.js
@@ -27,7 +27,8 @@ function isMissingDocInfo(body) {
text.PR_DOC_UNCHANGED,
text.PR_DOC_LATER,
text.PR_DOC_READY
- ].map(opt => `[x] ${opt}`);
+ ].map(opt => `[x] ${opt.toLowerCase()}`);
+ body = body.toLowerCase();
return !docOptions.some(opt => body.includes(opt));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]