Skip to content

Commit fe858f6

Browse files
committed
tools - reverse extracted embed order
1 parent 054e300 commit fe858f6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tools/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
1313
## master
1414

15+
#### :nail_care: Polish
16+
17+
- Reverse order of extracted embeds, so they're in the correct order.
18+
1519
## 0.6.2
1620

1721
#### :rocket: New Feature

tools/src/tools.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,4 +481,4 @@ let extractEmbedded ~extensionPoints ~filename =
481481
("contents", Some (wrapInQuotes contents));
482482
("loc", Some (Analysis.Utils.cmtLocToRange loc |> stringifyRange));
483483
])
484-
|> array
484+
|> List.rev |> array

0 commit comments

Comments
 (0)