Skip to content

Commit 2284280

Browse files
committed
🐛 fix the ranking on dependencies candidates
1 parent 0e03d0e commit 2284280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

isabl_cli/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_results(
107107

108108
# Return latest if more than 1 result and version is `latest`.
109109
if len(candidates) > 1 and application_version == "latest":
110-
candidates = sorted(candidates, key=lambda x: x.pk, reverse=True)[:1]
110+
candidates = sorted(candidates, key=lambda x: x.pk)[:1]
111111

112112
results = []
113113
for i in candidates:

0 commit comments

Comments
 (0)