Clean up use statements.
This commit is contained in:
parent
15dd869682
commit
a3e5318442
2 changed files with 2 additions and 3 deletions
|
|
@ -3,7 +3,6 @@ use serde::{Deserialize, Serialize};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::fs::DirBuilder;
|
use std::fs::DirBuilder;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::process::ExitStatus;
|
|
||||||
use std::{fs, process, str};
|
use std::{fs, process, str};
|
||||||
|
|
||||||
use super::{create_store_link, StorePath, FLAKE_ATTR, GCROOT_PATH, PROFILE_DIR, PROFILE_NAME};
|
use super::{create_store_link, StorePath, FLAKE_ATTR, GCROOT_PATH, PROFILE_DIR, PROFILE_NAME};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
use std::process::{self, ExitCode, ExitStatus};
|
use std::process::{self, ExitCode};
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
|
|
@ -220,7 +220,7 @@ fn invoke_remote_script(
|
||||||
script_name: &str,
|
script_name: &str,
|
||||||
target_host: &str,
|
target_host: &str,
|
||||||
use_remote_sudo: bool,
|
use_remote_sudo: bool,
|
||||||
) -> Result<ExitStatus> {
|
) -> Result<process::ExitStatus> {
|
||||||
let mut cmd = process::Command::new("ssh");
|
let mut cmd = process::Command::new("ssh");
|
||||||
cmd.arg(target_host).arg("--");
|
cmd.arg(target_host).arg("--");
|
||||||
if use_remote_sudo {
|
if use_remote_sudo {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue