Fix: 'imag-contact show' should increase output counter

This commit is contained in:
Matthias Beyer 2018-09-27 08:09:39 +02:00
parent 430186799b
commit 6bf49aa6b5

View file

@ -227,8 +227,9 @@ fn show(rt: &Runtime) {
None
}
})
.for_each(|elem| {
let data = build_data_object_for_handlebars(0, &elem);
.enumerate()
.for_each(|(i, elem)| {
let data = build_data_object_for_handlebars(i, &elem);
let s = show_format
.render("format", &data)