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 7d687feCopy full SHA for 7d687fe
packages/schematics/angular/web-worker/index.ts
@@ -140,7 +140,8 @@ 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)
144
+ && f.endsWith('component.ts') && !f.endsWith('spec.ts'))
145
// Sort alphabetically for consistency.
146
.sort();
147
0 commit comments