Upgraded github dependency

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 8 years ago
parent 8e84fc506d
commit 1c81e12fd8
  1. 4
      BuildServer/lib/builder.js

@ -13,14 +13,14 @@ const codePostfix = "";
const notifyStatus = (options, callback) => { const notifyStatus = (options, callback) => {
const status = { const status = {
user: options.owner, owner: options.owner,
repo: options.reponame, repo: options.reponame,
sha: options.hash, sha: options.hash,
state: options.state, state: options.state,
target_url: settings.siteRoot + "status/" + options.owner + "/" + options.reponame + "/" + options.hash, target_url: settings.siteRoot + "status/" + options.owner + "/" + options.reponame + "/" + options.hash,
description: ((options.description || "") + "").substr(0, 140) description: ((options.description || "") + "").substr(0, 140)
}; };
settings.createGithub(options.owner).statuses.create(status, (err, result) => { settings.createGithub(options.owner).repos.createStatus(status, (err, result) => {
if (err) { if (err) {
console.log("Error while creating status: " + err); console.log("Error while creating status: " + err);
console.log(status); console.log(status);

Loading…
Cancel
Save