Skip to content

Commit

Permalink
chore: Remove redundant version override
Browse files Browse the repository at this point in the history
The version is always specified, so this line doesn't do anything.
  • Loading branch information
jonathan-d-zhang committed Jul 7, 2024
1 parent aed89d9 commit d29bf8e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/mainframe/endpoints/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ def queue_package(
)
raise error

version = package_metadata.releases[0].version # Use latest version if not provided
log = logger.bind(package={"name": name, "version": version})

new_package = Scan(
name=name,
version=version,
Expand Down

0 comments on commit d29bf8e

Please sign in to comment.