Skip to content

Commit

Permalink
CLI build_command bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
djsaunde committed Jan 8, 2025
1 parent 4ee7544 commit ae2b885
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/axolotl/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ def build_command(base_cmd: List[str], options: Dict[str, Any]) -> List[str]:
if isinstance(value, bool):
if value:
cmd.append(f"--{key}")
else:
cmd.append(f"--no{key}")
else:
cmd.extend([f"--{key}", str(value)])

Expand Down

0 comments on commit ae2b885

Please sign in to comment.