Skip to content

Commit

Permalink
chore: rephrase error message (#24)
Browse files Browse the repository at this point in the history
* Better error message

* chore: rephrase

Co-authored-by: jamesgeorge007 <[email protected]>
  • Loading branch information
swimmy4days and jamesgeorge007 authored Aug 28, 2020
1 parent c114a6f commit 8481c59
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
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ Toolkit.run(
);

if (!content.length) {
tools.exit.failure("No events found");
tools.exit.failure("No PullRequest/Issue/IssueComment events found");
}

if (content.length < 5) {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Toolkit.run(
);

if (!content.length) {
tools.exit.failure("No events found");
tools.exit.failure("No PullRequest/Issue/IssueComment events found");
}

if (content.length < 5) {
Expand Down

0 comments on commit 8481c59

Please sign in to comment.