Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Commit

Permalink
fix(@angular-devkit/schematics): ensure non-empty with last op
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin committed May 9, 2018
1 parent 4307ea0 commit c535c8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class NodeWorkflow implements workflow.Workflow {
return of();
}

return fsSink.commit(tree).pipe(last(), defaultIfEmpty());
return fsSink.commit(tree).pipe(defaultIfEmpty(), last());
}),
concatMap(() => {
if (this._options.dryRun) {
Expand Down

0 comments on commit c535c8e

Please sign in to comment.