Skip to content

Fix data and options functions for multiple files#51

Closed
brechtcs wants to merge 1 commit intoadamayres:masterfrom
brechtcs:master
Closed

Fix data and options functions for multiple files#51
brechtcs wants to merge 1 commit intoadamayres:masterfrom
brechtcs:master

Conversation

@brechtcs
Copy link
Copy Markdown

@brechtcs brechtcs commented Nov 7, 2020

Currently, if you pass in a function as the data or options arguments, it only gets called for the first file in a stream. For subsequent files, the return value of that first call is passed to the template.

This PR fixes this, so that those functions are now called again for each file in the stream.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 8bda80d on brechtcs:master into 179bb8c on adamayres:master.

@brechtcs brechtcs closed this May 7, 2021
@beornf
Copy link
Copy Markdown

beornf commented May 31, 2022

@brechtcs Why was this PR closed? Solved the issue I had thanks 👍

@brechtcs
Copy link
Copy Markdown
Author

Don't remember exactly, but I think it was because this (also unmerged) PR fixes the same issue: #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants