Fix message about install directory not being empty

This commit is contained in:
James 2018-12-15 18:43:23 +11:00
parent b5fa7cacb3
commit 83fb6e121c

View file

@ -44,7 +44,7 @@ impl Task for VerifyInstallDirTask {
.map_err(|x| format!("Failed to read install destination: {:?}", x))?;
if paths.count() != 0 {
return Err("Install destination is not empty.".to_string());
return Err(format!("Install destination ({:?}) is not empty.", context.install_path));
}
}