seaofvoices / darklua

A command line tool that transforms Lua code
https://darklua.com/
MIT License
78 stars 10 forks source link

Fix bundling to remove token references right after parsing #146

Closed jeparlefrancais closed 10 months ago

jeparlefrancais commented 10 months ago

Closes #145

This change shifts the removal of token references to be immediately after parsing instead of being after applying the block into the bundled file.

github-actions[bot] commented 10 months ago

Coverage after merging fix-bundling-token-references into main will be

87.18%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/rules/bundle/path_require_mode
   mod.rs89.35%100%94.74%88.93%100–102, 119–121, 125–127, 129, 179, 205–207, 222–224, 234–236, 258, 294–297, 323, 35