Cannot create pipe in sub-directory if module is in different sub-directory #13182
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Node: 8.11.3
NPM: 6.4.1
Angular CLI: 7.1.2
Windows 10
Repro steps
ng g p pipes/test-pipe -m modules/app
ng g c components/test-component -m modules/app
does succeedThe log given by the failure
Desired functionality
The expectation is that this would successfully create the pipe in the pipes subdirectory (creating it if necessary) and import it into modules/app.module.ts. This functionality does work when creating components or services in a subdirectory, just not pipes.
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: