Fixed application crash on some errors

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 10 years ago
parent 717659aab3
commit eaf09a7720
  1. 2
      BuildServer/lib/builder.js

@ -16,7 +16,7 @@ var notifyStatus = function (options, callback) {
json: {
state: options.state,
target_url: "https://mbs.pos/status/" + options.owner + "/" + options.reponame + "/" + options.hash,
description: (options.description || "").substr(0, 140)
description: ((options.description || "") + "").substr(0, 140)
}
}, function (err, response, body) {
if (err) {

Loading…
Cancel
Save