From 6a8bf2b0744c1fe071ae522af1508f829d7e3701 Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Mon, 16 May 2022 14:52:36 -0600 Subject: [PATCH] s/open/create --- backend/src/install/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/install/mod.rs b/backend/src/install/mod.rs index 498c2375f..c6fa6c41e 100644 --- a/backend/src/install/mod.rs +++ b/backend/src/install/mod.rs @@ -1126,7 +1126,7 @@ pub async fn install_s9pk( if let Some(mut hdl) = rdr.scripts().await? { tokio::io::copy( &mut hdl, - &mut File::open(script_dir.join("embassy.js")).await?, + &mut File::create(dbg!(script_dir.join("embassy.js"))).await?, ) .await?; }