Comment debug code
This commit is contained in:
parent
3291b970a0
commit
4d3b487059
@ -8,7 +8,7 @@
|
|||||||
// Authors:
|
// Authors:
|
||||||
// Sebastian Kippe <sebastian@kip.pe>
|
// Sebastian Kippe <sebastian@kip.pe>
|
||||||
|
|
||||||
const fs = require('fs');
|
// const fs = require('fs');
|
||||||
const fetch = require('node-fetch');
|
const fetch = require('node-fetch');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
@ -51,7 +51,7 @@ const fetch = require('node-fetch');
|
|||||||
|
|
||||||
function handleGitHubIssueClosed(data) {
|
function handleGitHubIssueClosed(data) {
|
||||||
return new Promise((resolve/*, reject*/) => {
|
return new Promise((resolve/*, reject*/) => {
|
||||||
fs.writeFileSync('tmp/github-issue.json', JSON.stringify(data, null, 4));
|
// fs.writeFileSync('tmp/github-issue.json', JSON.stringify(data, null, 4));
|
||||||
let recipients;
|
let recipients;
|
||||||
let issue = data.issue;
|
let issue = data.issue;
|
||||||
let assignees = issue.assignees.map(a => a.login);
|
let assignees = issue.assignees.map(a => a.login);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user