crabatool 1.0.114 → 1.0.115
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 +2 -3
package/package.json
CHANGED
package/tool/checkjs.js
CHANGED
|
@@ -153,8 +153,8 @@ module.exports.start = async function() {
|
|
|
153
153
|
status = '有异常';
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
|
|
157
156
|
var modName = getModName();
|
|
157
|
+
var id = modName + '_' + new Date().getTime();
|
|
158
158
|
var webhookList = [];
|
|
159
159
|
var info = [];
|
|
160
160
|
var localVersion = upgrade.getLocalVersion();
|
|
@@ -209,7 +209,7 @@ module.exports.start = async function() {
|
|
|
209
209
|
list0.push(fileName);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
webhookList.push(`1. 语法异常文件清单随机5个 \r\n${list0.join(' \r\n')}
|
|
212
|
+
webhookList.push(`1. 语法异常文件清单随机5个 \r\n${list0.join(' \r\n')}`);
|
|
213
213
|
var reportUrl1 = getReportUrl(id, 2);
|
|
214
214
|
if (reportUrl1) {
|
|
215
215
|
webhookList.push(`[更多异常...](${reportUrl1})`);
|
|
@@ -350,7 +350,6 @@ module.exports.start = async function() {
|
|
|
350
350
|
|
|
351
351
|
|
|
352
352
|
// 推送报告到钉钉和文档服务器端
|
|
353
|
-
var id = modName + '_' + new Date().getTime();
|
|
354
353
|
var reportUrl = getReportUrl(id);
|
|
355
354
|
var content = info.concat(detail).join(' \r\n');
|
|
356
355
|
postReport(id, reportUrl, content, sonar);
|