File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -67,37 +67,15 @@ pub async fn endpoint_hashes(
6767
6868 let module_graph = module_graph. read_graphs ( ) . await ?;
6969
70- if let Err ( e ) = module_graph. traverse_nodes_from_entries_dfs (
70+ module_graph. traverse_nodes_from_entries_dfs (
7171 modules,
7272 & mut all_modules,
7373 |module, all_modules| {
7474 all_modules. insert ( * module) ;
7575 Ok ( GraphTraversalAction :: Continue )
7676 } ,
7777 |_, _| Ok ( ( ) ) ,
78- ) {
79- let modules = entries
80- . await ?
81- . into_iter ( )
82- . chain ( additional_entries. await ?. into_iter ( ) )
83- . flat_map ( |e| e. entries ( ) )
84- . map ( async |m| Ok ( ( m, m. ident ( ) . to_string ( ) . await ?) ) )
85- . try_join ( )
86- . await ?;
87- let entries = module_graph
88- . entries ( )
89- . map ( async |e| {
90- let modules = e
91- . entries ( )
92- . map ( async |m| Ok ( ( m, m. ident ( ) . to_string ( ) . await ?) ) )
93- . try_join ( )
94- . await ?;
95- Ok ( ( e, modules) )
96- } )
97- . try_join ( )
98- . await ?;
99- println ! ( "{e:?} {endpoint:?} module_graph entries = {entries:#?}\n modules = {modules:#?}" )
100- }
78+ ) ?;
10179
10280 let sources = all_modules
10381 . iter ( )
You can’t perform that action at this time.
0 commit comments