Skip to content

Commit 42688da

Browse files
authored
fix: Rename npm_package_json to npm_requirements
Signed-off-by: GitHub <[email protected]>
1 parent 4b643eb commit 42688da

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
@@ -814,7 +814,9 @@ def commands_step(path, commands):
814814
pip_requirements = claim.get("pip_requirements")
815815
poetry_install = claim.get("poetry_install")
816816
poetry_export_extra_args = claim.get("poetry_export_extra_args", [])
817-
npm_requirements = claim.get("npm_package_json")
817+
npm_requirements = claim.get(
818+
"npm_requirements", claim.get("npm_package_json")
819+
)
818820
runtime = claim.get("runtime", query.runtime)
819821

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

0 commit comments

Comments
 (0)