node-red / node-red-dev-cli

Command-line tool for Node-RED Node authors
Apache License 2.0
7 stars 6 forks source link

Do not cache packages between invocations #26

Closed knolleary closed 1 year ago

knolleary commented 1 year ago

When called programmatically from the flow library, the path to a particular module's package.json is always the same regardless of the version. This meant node.js was caching the results of the require calls for the package.json - leading to the scorecard evaluating the old version.

This ensures nothing is cached.