Skip to content

Commit 9de5eac

Browse files
committed
Make error a bit clearer and more actionable
1 parent 97a381d commit 9de5eac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎pr-checks/post-comment.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ export async function setComment(
132132
);
133133
if (existingCommentId === undefined) {
134134
if (!options.createIfMissing) {
135-
console.info("No existing comment found; skipping creation.");
135+
console.info(
136+
"No existing comment found; skipping creation because --create-if-missing wasn't specified.",
137+
);
136138
return;
137139
}
138140
console.info("No existing comment found; creating a new comment.");

0 commit comments

Comments
 (0)