Skip to content

Commit 8fcf9a4

Browse files
Alan Agiusalexeagle
authored andcommitted
fix(@angular-devkit/core): host.delete() completes but never emits
RxJS `EMPTY` creates an Observable that emits no items immediately emits a complete notification. Fixes #14235
1 parent faa4d8d commit 8fcf9a4

File tree

1 file changed

+2
-2
lines changed
  • packages/angular_devkit/core/node

1 file changed

+2
-2
lines changed

packages/angular_devkit/core/node/host.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import * as fs from 'fs';
9-
import { EMPTY, Observable, concat, from as observableFrom, throwError } from 'rxjs';
9+
import { Observable, concat, from as observableFrom, of, throwError } from 'rxjs';
1010
import {
1111
concatMap,
1212
ignoreElements,
@@ -305,7 +305,7 @@ export class NodeJsSyncHost implements virtualFs.Host<fs.Stats> {
305305
return throwError(err);
306306
}
307307

308-
return EMPTY;
308+
return of(undefined);
309309
}
310310
}),
311311
);

0 commit comments

Comments
 (0)