Skip to content

Commit 4bc61eb

Browse files
authored
fix: Rename npm_package_json to npm_requirements (#621)
1 parent 5da19e5 commit 4bc61eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,9 @@ def commands_step(path, commands):
821821
pip_requirements = claim.get("pip_requirements")
822822
poetry_install = claim.get("poetry_install")
823823
poetry_export_extra_args = claim.get("poetry_export_extra_args", [])
824-
npm_requirements = claim.get("npm_package_json")
824+
npm_requirements = claim.get(
825+
"npm_requirements", claim.get("npm_package_json")
826+
)
825827
runtime = claim.get("runtime", query.runtime)
826828

827829
if pip_requirements and runtime.startswith("python"):

0 commit comments

Comments
 (0)