Skip to content

Commit

Permalink
Remove unused check in CompletionListener
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenke committed Mar 25, 2024
1 parent 8ab6ff1 commit ffdcb12
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/completion-listener.ts
Expand Up @@ -111,11 +111,7 @@ export class CompletionListener {
);
return Rx.lastValueFrom(
Rx.combineLatest(closeStreams).pipe(
filter((events) =>
commands.every(
(command, i) => command.state !== 'started' || events[i] === undefined,
),
),
filter(() => commands.every((command) => command.state !== 'started')),
map((events) =>
events
// Filter out aborts, since they cannot be sorted and are considered success condition anyways
Expand Down

0 comments on commit ffdcb12

Please sign in to comment.