File tree 1 file changed +3
-3
lines changed
crates/next-custom-transforms/src/transforms
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1888,8 +1888,8 @@ impl<C: Comments> VisitMut for ServerActions<C> {
1888
1888
) ) ;
1889
1889
new. push ( export_expr) ;
1890
1890
} else {
1891
- let call_expr_span = Span :: dummy_with_cmt ( ) ;
1892
- self . comments . add_pure_comment ( call_expr_span . lo ) ;
1891
+ let dummy_pure_span = Span :: dummy_with_cmt ( ) ;
1892
+ self . comments . add_pure_comment ( dummy_pure_span . lo ) ;
1893
1893
1894
1894
let export_expr =
1895
1895
ModuleItem :: ModuleDecl ( ModuleDecl :: ExportDecl ( ExportDecl {
@@ -1918,7 +1918,7 @@ impl<C: Comments> VisitMut for ServerActions<C> {
1918
1918
. into( ) ,
1919
1919
) ,
1920
1920
init: Some ( Box :: new( Expr :: Call ( CallExpr {
1921
- span: call_expr_span ,
1921
+ span: dummy_pure_span ,
1922
1922
callee: Callee :: Expr ( Box :: new( Expr :: Ident (
1923
1923
create_ref_ident. clone( ) ,
1924
1924
) ) ) ,
You can’t perform that action at this time.
0 commit comments