Skip to content

Commit

Permalink
chore: improve data dir is not a directory error msg (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Apr 9, 2024
1 parent 7338c05 commit c55f353
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/svm-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ required-features = ["solc"]
vergen = { version = "8", optional = true, features = ["build", "git", "gitcl"] }

[dependencies]
fs4 = "0.7"
fs4 = "0.8"
hex.workspace = true
dirs = "5.0"
once_cell = "1.17"
Expand Down
2 changes: 1 addition & 1 deletion crates/svm-rs/src/paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn setup_data_dir() -> Result<(), SvmError> {
if !data_dir.is_dir() {
return Err(SvmError::IoError(io::Error::new(
io::ErrorKind::AlreadyExists,
format!("{} is not a directory", data_dir.display()),
format!("svm data dir '{}' is not a directory", data_dir.display()),
)));
}

Expand Down

0 comments on commit c55f353

Please sign in to comment.