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 a7f2346 commit e8b7cd9Copy full SHA for e8b7cd9
packages/schematics/angular/web-worker/index.ts
@@ -63,8 +63,10 @@ function addSnippet(options: WebWorkerOptions): Rule {
63
}
64
65
const siblingModules = host.getDir(options.path).subfiles
66
- // Find all files that start with the same name, are ts files, and aren't spec files.
67
- .filter(f => f.startsWith(options.name) && f.endsWith('.ts') && !f.endsWith('spec.ts'))
+ // Find all files that start with the same name, are ts files,
+ // and aren't spec or module files.
68
+ .filter(f => f.startsWith(options.name) && f.endsWith('.ts')
69
+ && !f.endsWith('spec.ts') && !f.endsWith('-.module.ts'))
70
// Sort alphabetically for consistency.
71
.sort();
72
0 commit comments