debug what comes back from our iterator

This commit is contained in:
softprops 2019-09-17 17:53:48 +09:00
parent f3c225f2b8
commit a31211f9ff
2 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,9 @@ exports.release = (config, releaser) => __awaiter(void 0, void 0, void 0, functi
repo repo
})), _c; _c = yield _b.next(), !_c.done;) { })), _c; _c = yield _b.next(), !_c.done;) {
const release = _c.value; const release = _c.value;
console.log(`release`);
console.log(release);
console.log(release.data);
if (tag == release.data.tag_name) { if (tag == release.data.tag_name) {
return release.data; return release.data;
} }

View File

@ -119,6 +119,9 @@ export const release = async (
owner, owner,
repo repo
})) { })) {
console.log(`release`);
console.log(release);
console.log(release.data);
if (tag == release.data.tag_name) { if (tag == release.data.tag_name) {
return release.data; return release.data;
} }