test: fix compiler tests in windows ci (#30482)
This is a tentative fix for the error `Cannot write file '/node_modules/@angular/core/core.ngfactory.d.ts' because it would overwrite input file.` that is showing in codefresh windows ci. PR Close #30482
This commit is contained in:
parent
f9404d9e7c
commit
077809398c
|
@ -744,7 +744,7 @@ function isDts(fileName: string): boolean {
|
|||
}
|
||||
|
||||
function isSourceOrDts(fileName: string): boolean {
|
||||
return /\.ts$/.test(fileName);
|
||||
return /\.ts$/.test(fileName) && !/(ngfactory|ngstyle|ngsummary).d.ts$/.test(fileName);
|
||||
}
|
||||
|
||||
function resolveNpmTreeArtifact(manifestPath: string, resolveFile = 'package.json') {
|
||||
|
|
Loading…
Reference in New Issue