File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
turbopack/crates/turbopack-ecmascript/src/chunk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ impl EcmascriptChunkItemContent {
88
88
}
89
89
90
90
impl EcmascriptChunkItemContent {
91
- async fn module_factory ( self : Vc < Self > ) -> Result < Vc < Code > > {
91
+ async fn module_factory ( self : Vc < Self > ) -> Result < ResolvedVc < Code > > {
92
92
let this = self . await ?;
93
93
let mut code = CodeBuilder :: default ( ) ;
94
94
for additional_id in this. additional_ids . iter ( ) . try_join ( ) . await ? {
@@ -132,7 +132,7 @@ impl EcmascriptChunkItemContent {
132
132
133
133
code += "})" ;
134
134
135
- Ok ( code. build ( ) . cell ( ) )
135
+ Ok ( code. build ( ) . resolved_cell ( ) )
136
136
}
137
137
}
138
138
@@ -229,7 +229,7 @@ async fn module_factory_with_code_generation_issue(
229
229
. module_factory ( )
230
230
. await
231
231
{
232
- Ok ( factory) => factory,
232
+ Ok ( factory) => * factory,
233
233
Err ( error) => {
234
234
let id = chunk_item. asset_ident ( ) . to_string ( ) . await ;
235
235
let id = id. as_ref ( ) . map_or_else ( |_| "unknown" , |id| & * * id) ;
You can’t perform that action at this time.
0 commit comments