Skip to content

Commit

Permalink
update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
grmoon committed Oct 30, 2020
1 parent 85b7dbb commit 0ea2b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/autoupdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async function fetchPullRequests(octokit, repo, base) {
const response = await octokit.pulls.list({ ...repo, base, state: "open" });
const prs = response.data;

if (prs) {
if (!prs) {
core.info(`No PRs have ${base} as their base branch.`);
} else {
core.info(
Expand Down

0 comments on commit 0ea2b9c

Please sign in to comment.