Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit c535c8e

Browse files
committed
fix(@angular-devkit/schematics): ensure non-empty with last op
1 parent 4307ea0 commit c535c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/schematics/tools/workflow/node-workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class NodeWorkflow implements workflow.Workflow {
150150
return of();
151151
}
152152

153-
return fsSink.commit(tree).pipe(last(), defaultIfEmpty());
153+
return fsSink.commit(tree).pipe(defaultIfEmpty(), last());
154154
}),
155155
concatMap(() => {
156156
if (this._options.dryRun) {

0 commit comments

Comments
 (0)