Authored by 沈志敏

代码格式化

@@ -139,7 +139,7 @@ class Check { @@ -139,7 +139,7 @@ class Check {
139 }); 139 });
140 140
141 child.stdout.on("end", function () { 141 child.stdout.on("end", function () {
142 - self.mailOptions.text = dataText; 142 + self.mailOptions.html = `<pre style='font-family: Menlo,Monaco,Consolas,"Courier New",monospace;'>${dataText}</pre>`;
143 mail.sendMail(self.mailOptions, function(err, info){ 143 mail.sendMail(self.mailOptions, function(err, info){
144 if(err){ 144 if(err){
145 self._log(error); 145 self._log(error);