Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4bc61eb

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /