Improved commit status verbosity

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 11 years ago
parent fd856ea5dc
commit 54cca12b7b
  1. 2
      BuildServer/lib/builder.js

@ -64,7 +64,7 @@ var build = function (options, callback) {
var done = function (err, result) { var done = function (err, result) {
var errorMessage = result ? ((result.errors.$allMessages || [])[0] || {}).message : err, var errorMessage = result ? ((result.errors.$allMessages || [])[0] || {}).message : err,
warnMessage = result ? ((result.warns.$allMessages || [])[0] || {}).message : err, warnMessage = result ? ((result.warns.$allMessages || [])[0] || {}).message : err,
infoMessage = result ? ((result.infos.$allMessages || [])[0] || {}).message : err; infoMessage = result ? ((result.infos.$allMessages || []).slice(-1)[0] || {}).message : err;
fs.writeFile(release + "/report.json", JSON.stringify({err: err, result: result}), function (writeErr) { fs.writeFile(release + "/report.json", JSON.stringify({err: err, result: result}), function (writeErr) {
statusQueue.push(function (callback) { statusQueue.push(function (callback) {

Loading…
Cancel
Save