Skip to content

Commit

Permalink
fix(@schematics/angular): revert PR 1000
Browse files Browse the repository at this point in the history
But keep the test.
  • Loading branch information
hansl committed Jun 6, 2018
1 parent b11af51 commit bddda72
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/schematics/angular/ng-new/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import {
SchematicContext,
SchematicsException,
Tree,
branchAndMerge,
apply,
chain,
empty,
mergeWith,
move,
schematic,
} from '@angular-devkit/schematics';
Expand Down Expand Up @@ -53,8 +55,8 @@ export default function (options: NgNewOptions): Rule {
};

return chain([
branchAndMerge(
chain([
mergeWith(
apply(empty(), [
schematic('workspace', workspaceOptions),
schematic('application', applicationOptions),
move(options.directory || options.name),
Expand Down

0 comments on commit bddda72

Please sign in to comment.