Skip to content

Commit

Permalink
fix: make sure debug info is rendered (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Jan 26, 2021
1 parent 29cf8e8 commit 9b1ec80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13303,7 +13303,8 @@ async function run() {
core.endGroup();
core.info(`Getting list of repositories owned by ${owner} that will get updates. The following repos will be later ignored: ${ignoredRepositories}`);
const reposList = await getReposList(myOctokit, owner);
core.debug(`DEBUG: list of repositories for ${owner} that this action will iterate over`, JSON.stringify(reposList, null, 2));
core.debug(`DEBUG: list of repositories for ${owner} that this action will iterate over:`);
core.debug(JSON.stringify(reposList, null, 2));

for (const {url, name, id, defaultBranchRef: { name: defaultBranch }} of reposList) {
if (!ignoredRepositories.includes(name)) {
Expand Down
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ async function run() {
core.endGroup();
core.info(`Getting list of repositories owned by ${owner} that will get updates. The following repos will be later ignored: ${ignoredRepositories}`);
const reposList = await getReposList(myOctokit, owner);
core.debug(`DEBUG: list of repositories for ${owner} that this action will iterate over`, JSON.stringify(reposList, null, 2));
core.debug(`DEBUG: list of repositories for ${owner} that this action will iterate over:`);
core.debug(JSON.stringify(reposList, null, 2));

for (const {url, name, id, defaultBranchRef: { name: defaultBranch }} of reposList) {
if (!ignoredRepositories.includes(name)) {
Expand Down

0 comments on commit 9b1ec80

Please sign in to comment.