Skip to content

Commit

Permalink
fix: Bust node prereq cache on changes to package-lock.json as well
Browse files Browse the repository at this point in the history
We're using `npm ci`, so the package-lock file is actually the more
important file to check for changes.
  • Loading branch information
timmc-edx committed Aug 9, 2023
1 parent 9f19fa5 commit e0cee84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pavelib/prereqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0cee84

Please sign in to comment.