Skip to content

Commit

Permalink
fix: correct typo in onlyBuiltDependencies (#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
surma authored May 22, 2024
1 parent aa106ad commit ce5eefb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/pnpm_lockfiles/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
},
"onlyBuildDependencies": [
"onlyBuiltDependencies": [
"@aspect-test/c"
]
}
Expand Down
2 changes: 1 addition & 1 deletion npm/private/npm_translate_lock_state.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def _patched_dependencies(priv):
return priv["patched_dependencies"]

def _only_built_dependencies(priv):
return _root_package_json(priv).get("pnpm", {}).get("onlyBuildDependencies", None)
return _root_package_json(priv).get("pnpm", {}).get("onlyBuiltDependencies", None)

def _num_patches(priv):
return priv["num_patches"]
Expand Down

0 comments on commit ce5eefb

Please sign in to comment.