We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3c663 commit 2765fb6Copy full SHA for 2765fb6
packages/schematics/angular/web-worker/index.ts
@@ -140,7 +140,7 @@ function addSnippet(options: WebWorkerOptions): Rule {
140
141
const siblingModules = host.getDir(options.path).subfiles
142
// Find all files that start with the same name, are ts files, and aren't spec files.
143
- .filter(f => f.startsWith(options.name) && f.endsWith('.ts') && !f.endsWith('spec.ts'))
+ .filter(f => f.startsWith(options.name) && f.endsWith('component.ts') && !f.endsWith('spec.ts'))
144
// Sort alphabetically for consistency.
145
.sort();
146
0 commit comments