diff --git a/examples/v2_create_initial_accounts.rs b/examples/v2_create_initial_accounts.rs index 0af3d261e..249f1c456 100644 --- a/examples/v2_create_initial_accounts.rs +++ b/examples/v2_create_initial_accounts.rs @@ -56,6 +56,8 @@ async fn main() -> anyhow::Result<()> { App::from_clap(&matches) }; + std::fs::create_dir_all("created-accounts").context("Unable to create output directory.")?; + let ip_data: IpData = serde_json::from_str( &std::fs::read_to_string(app.idp).context("Could not read the keys file.")?, )