Skip to content

Commit bbf61bf

Browse files
authored
fix: without breaking change
1 parent 063224d commit bbf61bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ 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_requirements")
817+
npm_requirements = claim.get("npm_requirements", claim.get("npm_package_json"))
818818
runtime = claim.get("runtime", query.runtime)
819819

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

0 commit comments

Comments
 (0)