Skip to content

Commit

Permalink
refactor: remove unused warn_on_unqualified_tarball_url from npm_tran…
Browse files Browse the repository at this point in the history
…slate_lock (#1568)
  • Loading branch information
gregmagolan committed Apr 21, 2024
1 parent ad7e66e commit 7df45fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions docs/npm_translate_lock.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions npm/private/npm_translate_lock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ def npm_translate_lock(
use_starlark_yaml_parser = False,
# TODO(2.0): remove package_json
package_json = None,
# TODO(2.0): remove warn_on_unqualified_tarball_url
# buildifier: disable=unused-variable
warn_on_unqualified_tarball_url = None,
**kwargs):
"""Repository macro to generate starlark code from a lock file.
Expand Down Expand Up @@ -527,8 +524,6 @@ def npm_translate_lock(
Add all `package.json` files that are part of the workspace to `data` instead.
warn_on_unqualified_tarball_url: Deprecated. Will be removed in next major release.
npm_package_target_name: The name of linked `npm_package` targets. When `npm_package` targets are linked as pnpm workspace
packages, the name of the target must align with this value.
Expand Down

0 comments on commit 7df45fd

Please sign in to comment.