From adb07a567bc8d9ab029fe1c94d160a3bba5b0b05 Mon Sep 17 00:00:00 2001 From: ICavlek Date: Tue, 22 Oct 2024 12:53:16 +0200 Subject: [PATCH] chore: change to see which one fails --- tests/starknet/utils.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/starknet/utils.rs b/tests/starknet/utils.rs index 828ae9d9..24bfa51a 100644 --- a/tests/starknet/utils.rs +++ b/tests/starknet/utils.rs @@ -26,16 +26,18 @@ pub fn update_account(path: &str) -> Result<(), Error> { #[allow(dead_code)] pub fn copy_to_target() -> Result<(), Error> { if fs::metadata("./target/account").is_err() { - fs::create_dir("./target/account/")?; - fs::create_dir("./target/account/src/")?; + fs::create_dir("./target/account/").unwrap(); + fs::create_dir("./target/account/src/").unwrap(); fs::copy( "./tests/starknet/contract/account/src/lib.cairo", "./target/account/src/lib.cairo", - )?; + ) + .unwrap(); fs::copy( "./tests/starknet/contract/account/Scarb.toml", "./target/account/Scarb.toml", - )?; + ) + .unwrap(); } Ok(()) }