Skip to content

Commit 9aab356

Browse files
fix: Do not require interface version (#13)
1 parent bca0b2b commit 9aab356

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct Cli {
7171
#[arg(long)]
7272
stderr_file: Option<PathBuf>,
7373
/// Directory to write status signal files to. Used by automated setups.
74-
#[arg(long, requires = "interface_version")]
74+
#[arg(long)]
7575
status_dir: Option<PathBuf>,
7676
/// Enables verbose logging from pocket-ic. By default only errors are printed.
7777
#[arg(long)]
@@ -286,6 +286,7 @@ async fn main() -> anyhow::Result<()> {
286286
.expect("gateway urls should have a known port");
287287
// write everything to the status file
288288
if let Some(status_dir) = status_dir {
289+
fs::create_dir_all(&status_dir).context("failed to create status directory")?;
289290
let status_file = status_dir.join("status.json");
290291
let status = Status {
291292
v: "1".to_string(),

0 commit comments

Comments
 (0)