Merge pull request #112 from nilsmartel/patch-1

Make error more illuminating
This commit is contained in:
YuKun Liu authored and GitHub committed 2023-03-05 11:19:38 -08:00
commit ba3f067ffb
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ pub fn crate_root() -> Result<PathBuf> {
}
None
})
.ok_or_else(|| Error::CargoError("Failed to find the cargo directory".to_string()))
.ok_or_else(|| Error::CargoError("Failed to find directory containing Cargo.toml".to_string()))
}
/// Checks if the directory contains `Cargo.toml`