Skip to content

Commit

Permalink
wip: cleanup?
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard committed May 27, 2024
1 parent 8fc8a88 commit 9c7f5b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions npm/private/utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,7 @@ def _convert_v6_packages(packages):
elif package_path.startswith("/"):
# an aliased dependency
name, version = package_path[1:].rsplit("@", 1)

# TODO: dont strip twice, but 'friendly_version' may have already been converted from v6
friendly_version = _strip_v5_peer_dep_or_patched_version(_strip_v6_peer_dep_or_patched_version(version))
friendly_version = _strip_v5_peer_dep_or_patched_version(version)
package_key = "{}@{}".format(name, version)
else:
msg = "unexpected package path: {}".format(package_path)
Expand Down

0 comments on commit 9c7f5b9

Please sign in to comment.