Skip to content

Commit e81e2b7

Browse files
authored
Merge pull request #21342 from ahmedhamidawan/fix_terminal_states_array
[25.1] Fix `TERMINAL_STATES` array has a duplicate state
2 parents 095a509 + c22deea commit e81e2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/api/jobs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type JobMessage =
1717

1818
export const NON_TERMINAL_STATES = ["new", "queued", "running", "waiting", "paused", "resubmitted", "stop"];
1919
export const ERROR_STATES = ["error", "deleted", "deleting"];
20-
export const TERMINAL_STATES = ["ok", "skipped", "stop", "stopping", "skipped"].concat(ERROR_STATES);
20+
export const TERMINAL_STATES = ["ok", "skipped", "stop", "stopping"].concat(ERROR_STATES);
2121

2222
interface JobDef {
2323
tool_id: string;

0 commit comments

Comments
 (0)