Skip to content

Commit

Permalink
fix PR comment
Browse files Browse the repository at this point in the history
removing code from index.ts as it's handled in the schema.json
  • Loading branch information
Andrew Kemp authored and vsavkin committed Dec 5, 2017
1 parent a2d0265 commit fa5d5bc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/schematics/src/collection/ngrx/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ function addImportsToModule(name: string, options: Schema): Rule {
return host;
}

if (!options.directory) {
options.directory = '+state';
}

if (!host.exists(options.module)) {
throw new Error('Specified module does not exist');
}
Expand Down

0 comments on commit fa5d5bc

Please sign in to comment.