crabatool 1.0.100 → 1.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tool/checkjs.js +5 -1
package/package.json
CHANGED
package/tool/checkjs.js
CHANGED
|
@@ -153,7 +153,7 @@ module.exports.start = async function() {
|
|
|
153
153
|
var modName = getModName();
|
|
154
154
|
var webhookList = [];
|
|
155
155
|
var info = [];
|
|
156
|
-
info.push(`# ${modName}
|
|
156
|
+
info.push(`# ${modName}代码检测报告`);
|
|
157
157
|
webhookList.push(info[0]);
|
|
158
158
|
|
|
159
159
|
info.push("| 名称 | 结果 |");
|
|
@@ -177,6 +177,10 @@ module.exports.start = async function() {
|
|
|
177
177
|
info.push(`| gspx语法错误数 | ${gspxData.errorList.length}个 |`);
|
|
178
178
|
|
|
179
179
|
|
|
180
|
+
webhookList.push(`1. 助手版本: ${config.Version} `);
|
|
181
|
+
webhookList.push(`1. 共检测 ${jsFiles.length}个js文件 `);
|
|
182
|
+
webhookList.push(`1. 共检测 ${gspxData.count}个gspx文件 `);
|
|
183
|
+
|
|
180
184
|
// 输出到钉钉的简易报告
|
|
181
185
|
//if (errKeys.length > 0) {
|
|
182
186
|
webhookList.push(`1. 语法异常文件数Error:${errKeys.length}个`);
|