mirror of
https://github.com/github/codeql-action.git
synced 2026-11-10 14:56:01 +00:00
Make error a bit clearer and more actionable
This commit is contained in:
@@ -132,7 +132,9 @@ export async function setComment(
|
||||
);
|
||||
if (existingCommentId === undefined) {
|
||||
if (!options.createIfMissing) {
|
||||
console.info("No existing comment found; skipping creation.");
|
||||
console.info(
|
||||
"No existing comment found; skipping creation because --create-if-missing wasn't specified.",
|
||||
);
|
||||
return;
|
||||
}
|
||||
console.info("No existing comment found; creating a new comment.");
|
||||
|
||||
Reference in New Issue
Block a user