MediaWiki integration & integration architecture improvements . #16
@ -87,15 +87,15 @@ module.exports = async function(robot, kredits) {
|
||||
|
||||
let repoName = issue.repository_url.match(/.*\/(.+\/.+)$/)[1];
|
||||
let description = `${repoName}: ${issue.title}`;
|
||||
|
||||
let proposalPromisses = [];
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
let proposalPromises = [];
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
recipients.forEach(recipient => {
|
||||
proposalPromisses.push(
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
proposalPromises.push(
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
createProposal(recipient, amount, description, web_url, issue)
|
||||
.catch(err => robot.logger.error(err))
|
||||
);
|
||||
});
|
||||
|
||||
return Promise.all(proposalPromisses);
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
return Promise.all(proposalPromises);
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
}
|
||||
|
||||
function handleGitHubPullRequestClosed(data) {
|
||||
@ -127,16 +127,16 @@ module.exports = async function(robot, kredits) {
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
|
||||
let repoName = pull_request.base.repo.full_name;
|
||||
let description = `${repoName}: ${pull_request.title}`;
|
||||
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
let proposalPromisses = [];
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
let proposalPromises = [];
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
recipients.forEach(recipient => {
|
||||
console.debug(`[hubot-kredits] Creating proposal for ${recipient}...`);
|
||||
proposalPromisses.push(
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
proposalPromises.push(
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
createProposal(recipient, amount, description, web_url, pull_request)
|
||||
.catch(err => robot.logger.error(err))
|
||||
);
|
||||
});
|
||||
return Promise.all(proposalPromisses);
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
return Promise.all(proposalPromises);
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
![]() do we need a do we need a `const util = require('util');` in this file?
![]() do we need a do we need a `const util = require('util');` in this file?
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
![]() Please ignore the code until I have pushed all of my changes. Thanks. Please ignore the code until I have pushed all of my changes. Thanks.
|
do we need a
const util = require('util');
in this file?do we need a
const util = require('util');
in this file?Please ignore the code until I have pushed all of my changes. Thanks.
Please ignore the code until I have pushed all of my changes. Thanks.