From a31211f9ff04642bbe551ec19b1f74398a515560 Mon Sep 17 00:00:00 2001 From: softprops Date: Tue, 17 Sep 2019 17:53:48 +0900 Subject: [PATCH] debug what comes back from our iterator --- lib/github.js | 3 +++ src/github.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/github.js b/lib/github.js index c725825..bb3cf7c 100644 --- a/lib/github.js +++ b/lib/github.js @@ -72,6 +72,9 @@ exports.release = (config, releaser) => __awaiter(void 0, void 0, void 0, functi repo })), _c; _c = yield _b.next(), !_c.done;) { const release = _c.value; + console.log(`release`); + console.log(release); + console.log(release.data); if (tag == release.data.tag_name) { return release.data; } diff --git a/src/github.ts b/src/github.ts index d586f39..f2731a2 100644 --- a/src/github.ts +++ b/src/github.ts @@ -119,6 +119,9 @@ export const release = async ( owner, repo })) { + console.log(`release`); + console.log(release); + console.log(release.data); if (tag == release.data.tag_name) { return release.data; }