cs-au-dk / jelly

JavaScript/TypeScript static analyzer for call graph construction, library usage pattern matching, and vulnerability exposure analysis
MIT License
317 stars 22 forks source link

Fix visualizer for packaged binary #5

Closed mdittmer closed 1 year ago

mdittmer commented 1 year ago

The logic for locating an HTML template resource for visualizer output does not work correctly when using a precompiled binary. This change generalizes the logic to look for resources/[resource-file] in any ancestor directory of the script's __dirname.

Fixes #4

amoeller commented 1 year ago

Fixed in 46aaac5f.