rename run_no_output to run_no_stdout

we want stderr for some nix commands.
This commit is contained in:
Jörg Thalheim
2024-12-03 17:14:27 +01:00
parent 181a325941
commit bbb2aca5cb
13 changed files with 32 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ from pathlib import Path
from typing import Any
from clan_cli.api import API, dataclass_to_dict, from_dict
from clan_cli.cmd import run_no_output
from clan_cli.cmd import run_no_stdout
from clan_cli.errors import ClanCmdError, ClanError
from clan_cli.git import commit_file
from clan_cli.nix import nix_eval
@@ -78,7 +78,7 @@ def load_inventory_eval(flake_dir: str | Path) -> Inventory:
]
)
proc = run_no_output(cmd)
proc = run_no_stdout(cmd)
try:
res = proc.stdout.strip()