remove code used for testing

This commit is contained in:
nmio 2020-02-27 22:06:51 +00:00
parent f9f8edfb06
commit 12b595e817

View file

@ -462,7 +462,7 @@ fn find_cargo_toml(path: &Path) -> Result<PathBuf> {
return Ok(p); return Ok(p);
} }
let entities = match read_dir(path.join("does_not_exist")) { let entities = match read_dir(path) {
Ok(entities) => entities, Ok(entities) => entities,
Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()), Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()),
}; };