mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 21:59:38 +01:00
Narrow successful continuation runs
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
1b13bbcd24
commit
1af3a32654
1 file changed
+1
-1
@@ -188,7 +188,7 @@ function isUnsuccessfulTerminalIssueRun(latestRun: LatestIssueRun) {
|
||||
);
|
||||
}
|
||||
|
||||
function isSuccessfulInProgressContinuationRun(latestRun: LatestIssueRun) {
|
||||
function isSuccessfulInProgressContinuationRun(latestRun: LatestIssueRun): latestRun is NonNullable<LatestIssueRun> {
|
||||
return latestRun?.status === "succeeded";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user