From 83fb6e121cbe054eadefa6e75cdae90c8f8217ec Mon Sep 17 00:00:00 2001 From: James Date: Sat, 15 Dec 2018 18:43:23 +1100 Subject: [PATCH] Fix message about install directory not being empty --- src/tasks/install_dir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasks/install_dir.rs b/src/tasks/install_dir.rs index be11deb..c8e4c53 100644 --- a/src/tasks/install_dir.rs +++ b/src/tasks/install_dir.rs @@ -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)); } }