mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
refactor(ci): drop the unreachable sort fallback
env_setting returns a non-empty process value, else the default.env value, else KeyError -- an empty process override falls back through the strip check in parser.py. INFINITO_DISCOVERY_SORT is declared non-empty, so the spec the ternary guarded against could never be falsy. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
f2f668ca73
commit
b893d54ff3
1 file changed
+1
-1
@@ -82,7 +82,7 @@ def sort_spec() -> str:
|
||||
"""The discovery sort, behind a clones-last prefix so one representative
|
||||
per dna cluster stays ahead of the budget cut."""
|
||||
spec = env_setting("INFINITO_DISCOVERY_SORT").strip()
|
||||
return f"asc clone,{spec}" if spec else "asc clone"
|
||||
return f"asc clone,{spec}"
|
||||
|
||||
|
||||
def _query_argv(
|
||||
|
||||
Reference in new issue
Block a user