Skip to content

Commit

Permalink
concise message
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Sep 27, 2024
1 parent c38bc59 commit 1be6c68
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ const _worker = new GHActWorker(
log(`All failed:\n ${failingFiles.join("\n ")}`);
throw new Error(`All failed`);
} else if (failingFiles.length > 0) {
const message = `Some failed:\n ${failingFiles.join("\n ")}`;
log(message);
return message;
log(`Some failed:\n ${failingFiles.join("\n ")}`);
return `Some failed: ${failingFiles.length} of ${statements.length} failed`;
} else {
log("All succeeded");
return "";
Expand Down

0 comments on commit 1be6c68

Please sign in to comment.