File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -749,18 +749,14 @@ export class SourceTracking extends AsyncCreatable {
749
749
}
750
750
// when the file doesn't exist locally, there are no filePaths
751
751
// SDR can generate the hypothetical place it *would* go and check that
752
- if (
753
- input . name &&
754
- input . type &&
755
- filePathsFromMetadataComponent ( {
756
- fullName : input . name ,
757
- type : new RegistryAccess ( ) . getTypeByName ( input . type ) ,
758
- } ) . some ( ( hypotheticalFilePath ) => this . forceIgnore . denies ( hypotheticalFilePath ) )
759
- ) {
752
+ if ( input . name && input . type ) {
760
753
return [
761
754
{
762
755
...baseObject ,
763
- ignored : true ,
756
+ ignored : filePathsFromMetadataComponent ( {
757
+ fullName : input . name ,
758
+ type : new RegistryAccess ( ) . getTypeByName ( input . type ) ,
759
+ } ) . some ( ( hypotheticalFilePath ) => this . forceIgnore . denies ( hypotheticalFilePath ) ) ,
764
760
} ,
765
761
] ;
766
762
}
You can’t perform that action at this time.
0 commit comments