Skip to content

Commit 20fe2d2

Browse files
authored
docs: fix bug in placement of prettier-ignore-end in generated compatibility guide (apache#3287)
1 parent b8c5275 commit 20fe2d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spark/src/main/scala/org/apache/comet/GenerateDocs.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ object GenerateDocs {
174174
w.write("\n".getBytes)
175175
}
176176

177-
w.write("<!-- prettier-ignore-end -->\n".getBytes)
178-
179177
// Write annotations if any
180178
if (annotations.nonEmpty) {
181179
w.write("\n**Notes:**\n".getBytes)
182180
for ((from, to, note) <- annotations.distinct) {
183181
w.write(s"- **$from -> $to**: $note\n".getBytes)
184182
}
185183
}
184+
185+
w.write("<!-- prettier-ignore-end -->\n".getBytes)
186186
}
187187

188188
/** Read file into memory */

0 commit comments

Comments
 (0)