crabatool 1.0.105 → 1.0.106
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 +8 -2
package/package.json
CHANGED
package/tool/checkjs.js
CHANGED
|
@@ -164,7 +164,10 @@ module.exports.start = async function() {
|
|
|
164
164
|
info.push("| 名称 | 结果 |");
|
|
165
165
|
info.push("| ------ | ------ |");
|
|
166
166
|
info.push(`| 助手版本 | ${config.Version} |`);
|
|
167
|
-
if (localVersion.version)
|
|
167
|
+
if (localVersion.version) {
|
|
168
|
+
info.push(`| 平台版本 | ${localVersion.version} |`);
|
|
169
|
+
info.push(`| 平台日期 | ${localVersion.date} |`);
|
|
170
|
+
}
|
|
168
171
|
info.push(`| 生成报告时间 | ${new Date().toString()} |`);
|
|
169
172
|
info.push(`| 网站路径 | ${config.webPath} |`);
|
|
170
173
|
info.push(`| 共检查 | ${jsFiles.length}个js文件 |`);
|
|
@@ -184,7 +187,10 @@ module.exports.start = async function() {
|
|
|
184
187
|
|
|
185
188
|
|
|
186
189
|
webhookList.push(`1. 助手版本: ${config.Version} `);
|
|
187
|
-
if (localVersion.version)
|
|
190
|
+
if (localVersion.version) {
|
|
191
|
+
webhookList.push(`1. 平台版本:${localVersion.version}`);
|
|
192
|
+
webhookList.push(`1. 平台日期:${localVersion.date}`);
|
|
193
|
+
}
|
|
188
194
|
webhookList.push(`1. 共检测 ${jsFiles.length}个 js文件 `);
|
|
189
195
|
webhookList.push(`1. 共检测 ${gspxData.count}个 gspx文件 `);
|
|
190
196
|
|