Skip to content

Commit

Permalink
fix: rename npm_package_json to npm_requirements
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
aslafy-z authored Sep 25, 2024
1 parent 4b643eb commit 7c3d510
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,9 @@ def commands_step(path, commands):
pip_requirements = claim.get("pip_requirements")
poetry_install = claim.get("poetry_install")
poetry_export_extra_args = claim.get("poetry_export_extra_args", [])
npm_requirements = claim.get("npm_package_json")
npm_requirements = claim.get(
"npm_requirements", claim.get("npm_package_json")
)
runtime = claim.get("runtime", query.runtime)

if pip_requirements and runtime.startswith("python"):
Expand Down

0 comments on commit 7c3d510

Please sign in to comment.