fix: Bust node prereq cache on changes to package-lock.json as well

We're using `npm ci`, so the package-lock file is actually the more
important file to check for changes.
This commit is contained in:
Tim McCormack
2023-08-08 20:45:03 +00:00
parent 9f19fa55fe
commit e0cee84ca9

View File

@@ -194,7 +194,7 @@ def install_node_prereqs():
print(NO_PREREQ_MESSAGE)
return
prereq_cache("Node prereqs", ["package.json"], node_prereqs_installation)
prereq_cache("Node prereqs", ["package.json", "package-lock.json"], node_prereqs_installation)
# To add a package to the uninstall list, just add it to this list! No need