crabatool 1.0.62 → 1.0.63

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/lib/config.js CHANGED
@@ -6,6 +6,7 @@ class Config {
6
6
  constructor() {
7
7
  this.reportHost = "http://crabadoc.ca.com"; // 用于接收检测报告的服务器,可配置的。由于产品没有提供服务,目前统一放到平台的文档服务器
8
8
  this.webhooks = "https://oapi.dingtalk.com/robot/send?access_token=ce27b1b1540881540d44c0bd05ba738d865363758892ede137dc1020bd36bd5a";
9
+ //this.webhooks = "https://oapi.dingtalk.com/robot/send?access_token=37279df60e03ebf25e8eb71230ddb93fe74de99951a8d635d0458e60bfcd44d8";
9
10
 
10
11
  this.Version = pg.version;
11
12
  this.Debug = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tool/checkjs.js CHANGED
@@ -74,7 +74,7 @@ module.exports.start = function() {
74
74
  pb.clear('检验完成');
75
75
 
76
76
  // 生成检测报告 markdown语法
77
- var status = '健康';
77
+ var status = '无异常';
78
78
  if (errList.length > 0 || notUtf8List.length > 0) {
79
79
  status = '有异常';
80
80
  }
@@ -162,7 +162,7 @@ module.exports.start = function() {
162
162
  postReport(id, reportUrl, content, sonar);
163
163
 
164
164
  // 推送到钉钉
165
- //if (status != '健康') { // 检查结果检查就不发到钉钉了; ps:健康也发到钉钉,鼓励开发继续保持;
165
+ //if (status != '无异常') { // 检查结果检查就不发到钉钉了; ps:健康也发到钉钉,鼓励开发继续保持;
166
166
  postWebhooks(id, reportUrl, webhookList);
167
167
  //}
168
168
  }