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 @@ -1887,8 +1887,8 @@ impl<C: Comments> VisitMut for ServerActions<C> {
1887
1887
) ) ;
1888
1888
new. push ( export_expr) ;
1889
1889
} else {
1890
- let call_expr_span = Span :: dummy_with_cmt ( ) ;
1891
- self . comments . add_pure_comment ( call_expr_span . lo ) ;
1890
+ let dummy_pure_span = Span :: dummy_with_cmt ( ) ;
1891
+ self . comments . add_pure_comment ( dummy_pure_span . lo ) ;
1892
1892
1893
1893
let export_expr =
1894
1894
ModuleItem :: ModuleDecl ( ModuleDecl :: ExportDecl ( ExportDecl {
@@ -1917,7 +1917,7 @@ impl<C: Comments> VisitMut for ServerActions<C> {
1917
1917
. into( ) ,
1918
1918
) ,
1919
1919
init: Some ( Box :: new( Expr :: Call ( CallExpr {
1920
- span: call_expr_span ,
1920
+ span: dummy_pure_span ,
1921
1921
callee: Callee :: Expr ( Box :: new( Expr :: Ident (
1922
1922
create_ref_ident. clone( ) ,
1923
1923
) ) ) ,
You can’t perform that action at this time.
0 commit comments