dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent 98d5b673ce
commit a3adbb595a
  1. 4
      BuildServer/lib/status-processor.js

@ -12,7 +12,7 @@ var addBranchInfo = function (app, options, callback) {
}
fs.readFile(branchFile, function (err, data) {
if (err) {
return callback(err, result);
return callback(err, options);
}
options.branch = data.toString();
options.branchName = options.branch.split("/").pop();
@ -93,7 +93,7 @@ var loadReport = function (app, options, callback) {
exports.getReport = function (app, options, callback) {
parseOptions(app, options, function (err, result) {
if (err) {
return callback(err);
return callback(err, {});
}
return loadReport(app, result, callback);

Loading…
Cancel
Save