Add missing argument to error message

This commit is contained in:
Bruce Leidl 2019-01-02 12:18:18 -05:00
parent d2f07c01bf
commit 27758b9a1a

View File

@ -11,7 +11,7 @@ use Result;
pub fn ensure_command_exists(cmd_path: &str) -> Result<()> { pub fn ensure_command_exists(cmd_path: &str) -> Result<()> {
if !Path::new(cmd_path).exists() { if !Path::new(cmd_path).exists() {
bail!("Cannot execute '{}': command does not exist"); bail!("Cannot execute '{}': command does not exist", cmd_path);
} }
Ok(()) Ok(())
} }