File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
packages/workspace/src/generators/move-file/export-management Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ export function ensureFileExported(
4242 content += exportStatement ;
4343 tree . write ( indexPath , content ) ;
4444 treeReadCache . invalidateFile ( indexPath ) ;
45- // Invalidate index exports cache so subsequent checks re-read
46- try { require ( './index-exports-cache' ) . invalidateIndexExportsCacheEntry ( indexPath ) ; } catch { }
4745 logger . verbose ( `Added export to ${ indexPath } ` ) ;
4846 }
4947}
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ export function removeFileExport(
7373 tree . write ( indexPath , updatedContent ) ;
7474 treeReadCache . invalidateFile ( indexPath ) ;
7575 astCache . invalidate ( indexPath ) ;
76- try { require ( './index-exports-cache' ) . invalidateIndexExportsCacheEntry ( indexPath ) ; } catch { }
7776 logger . verbose ( `Removed export from ${ indexPath } ` ) ;
7877 }
7978 } ) ;
You can’t perform that action at this time.
0 commit comments