BMModule::list_command() - we get back an Result<> here

This commit is contained in:
Matthias Beyer 2015-12-04 14:17:03 +01:00
parent be094dcfae
commit 40ae26d0f2

View file

@ -39,7 +39,7 @@ pub fn list_command(module: &Module, env: CommandEnv) -> CommandResult {
let files = get_filtered_files_from_backend(module, &env); let files = get_filtered_files_from_backend(module, &env);
debug!("Printing files now"); debug!("Printing files now");
printer.print_files(files); files.map(|f| printer.print_files(f));
Ok(()) Ok(())
} }