diff options
author | Roman Melnikov | 2023-05-05 10:53:03 +0800 |
---|---|---|
committer | GitHub | 2023-05-05 10:53:03 +0800 |
commit | 6b0b6a1c2527e8b1ef370a308b6ef8903004ac47 (patch) | |
tree | c8ec6f665d7d0f0f5aa3905e489313f0ebd7832b /src/cli.rs | |
parent | c2ea4e642dc50fd44b537e9860ec95867af30d39 (diff) | |
parent | 784e9ee24d977c99dcb5ba5aef81dae48cb899fb (diff) |
Merge pull request #205 from serokell/rvem/improve-temp-path-handling
[Chore] Handle 'temp_path' as an actual 'Path' instead of 'String'
Diffstat (limited to '')
-rw-r--r-- | src/cli.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ use self::deploy::{DeployFlake, ParseFlakeError}; use futures_util::stream::{StreamExt, TryStreamExt}; use log::{debug, error, info, warn}; use serde::Serialize; +use std::path::PathBuf; use std::process::Stdio; use thiserror::Error; use tokio::process::Command; @@ -86,7 +87,7 @@ pub struct Opts { confirm_timeout: Option<u16>, /// Where to store temporary files (only used by magic-rollback) #[clap(long)] - temp_path: Option<String>, + temp_path: Option<PathBuf>, /// Show what will be activated on the machines #[clap(long)] dry_activate: bool, |