File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ( ) ,
You can’t perform that action at this time.
0 commit comments