difftreelog
style reorder command construction arguments
in: trunk
1 file changed
src/db/keys.rsdiffbeforeafterboth111112pub fn list_hosts() -> Result<Vec<String>> {12pub fn list_hosts() -> Result<Vec<String>> {13 Ok(Command::new("nix")13 Ok(Command::new("nix")14 .inherit_stdio()15 .arg("eval")16 .arg(HOSTS_ATTRIBUTE)17 .arg("--apply")14 .args(&[15 "eval",16 HOSTS_ATTRIBUTE,17 "--apply",18 "builtins.attrNames",19 "--json",20 ])18 .arg("builtins.attrNames")21 .inherit_stdio()19 .run_json()?)22 .run_json()?)20}23}2124