Skip to content

Commit 8481c59

Browse files
chore: rephrase error message (#24)
* Better error message * chore: rephrase Co-authored-by: jamesgeorge007 <[email protected]>
1 parent c114a6f commit 8481c59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ Toolkit.run(
16191619
);
16201620

16211621
if (!content.length) {
1622-
tools.exit.failure("No events found");
1622+
tools.exit.failure("No PullRequest/Issue/IssueComment events found");
16231623
}
16241624

16251625
if (content.length < 5) {

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Toolkit.run(
144144
);
145145

146146
if (!content.length) {
147-
tools.exit.failure("No events found");
147+
tools.exit.failure("No PullRequest/Issue/IssueComment events found");
148148
}
149149

150150
if (content.length < 5) {

0 commit comments

Comments
 (0)