node-red / node-red-dev-cli

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

Do not cache packages between invocations #26

Closed knolleary closed 11 months ago

knolleary commented 11 months 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.