We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ad002 commit 91d6b3fCopy full SHA for 91d6b3f
1 file changed
src/completion-listener.ts
@@ -126,11 +126,11 @@ export class CompletionListener {
126
first.timings.endDate.getTime() - second.timings.endDate.getTime(),
127
),
128
129
- switchMap((events) => {
130
- return this.isSuccess(events)
+ switchMap((events) =>
+ this.isSuccess(events)
131
? this.emitWithScheduler(Rx.of(events))
132
- : this.emitWithScheduler(Rx.throwError(() => events));
133
- }),
+ : this.emitWithScheduler(Rx.throwError(() => events)),
+ ),
134
take(1),
135
136
);
0 commit comments