@@ -1018,8 +1018,8 @@ function printLines(path, options, print, childrenAttribute = "children") {
10181018 "?>" ,
10191019 ]
10201020 : isProgramLikeNode ( node ) && isFirstNode && node . kind !== "namespace"
1021- ? ""
1022- : [ beforeCloseTagInlineNode , "?>" ] ;
1021+ ? ""
1022+ : [ beforeCloseTagInlineNode , "?>" ] ;
10231023
10241024 //FIXME getNode is used to get ancestors, but it seems this means to get next sibling?
10251025 const nextV = path . getNode ( index + 1 ) ;
@@ -1034,8 +1034,8 @@ function printLines(path, options, print, childrenAttribute = "children") {
10341034 hardline ,
10351035 ]
10361036 : isProgramLikeNode ( node ) && isLastNode
1037- ? ""
1038- : [ openTag , " " ] ;
1037+ ? ""
1038+ : [ openTag , " " ] ;
10391039
10401040 printed = [ beforeInline , printed , afterInline ] ;
10411041 }
@@ -1091,8 +1091,8 @@ function printLines(path, options, print, childrenAttribute = "children") {
10911091 : "" ,
10921092 ]
10931093 : node . comments
1094- ? hardline
1095- : "" ;
1094+ ? hardline
1095+ : "" ;
10961096
10971097 parts . push ( lineSuffix ( [ beforeCloseTag , "?>" ] ) ) ;
10981098 }
@@ -1711,8 +1711,8 @@ function printNode(path, options, print) {
17111711 hardline ,
17121712 ]
17131713 : hasDanglingComments ( node )
1714- ? [ line , printDanglingComments ( path , options , true ) , line ]
1715- : "" ,
1714+ ? [ line , printDanglingComments ( path , options , true ) , line ]
1715+ : "" ,
17161716 "}" ,
17171717 ]
17181718 : "" ,
0 commit comments