Dont fail if we cant create the .ucg directory

This commit is contained in:
Jeremy Wall 2021-03-10 19:54:38 -05:00
parent 15819cdc16
commit f35f1be851

View File

@ -487,7 +487,9 @@ fn main() {
p.push(".ucg");
// Attempt to create directory if it doesn't exist.
if !p.exists() {
std::fs::create_dir(&p).unwrap();
if let Err(e) = std::fs::create_dir(&p) {
eprintln!("Unable to create .ucg directory {}", e);
}
}
import_paths.push(p);
}