Skip to content

Commit

Permalink
chore: change to see which one fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ICavlek committed Oct 22, 2024
1 parent 6ba7d70 commit adb07a5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/starknet/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

0 comments on commit adb07a5

Please sign in to comment.