From 40ae26d0f26aba2b2dae8286d958fca113ed44ff Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 4 Dec 2015 14:17:03 +0100 Subject: [PATCH] BMModule::list_command() - we get back an Result<> here --- src/module/bm/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/bm/commands.rs b/src/module/bm/commands.rs index 780a0c72..ae07c164 100644 --- a/src/module/bm/commands.rs +++ b/src/module/bm/commands.rs @@ -39,7 +39,7 @@ pub fn list_command(module: &Module, env: CommandEnv) -> CommandResult { let files = get_filtered_files_from_backend(module, &env); debug!("Printing files now"); - printer.print_files(files); + files.map(|f| printer.print_files(f)); Ok(()) }