Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Fix for using sources with a map. #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeremyk
Copy link

@jeremyk jeremyk commented Nov 27, 2013

sources.map() was giving map undefined when using this style:
'target2.html': {
file: 'source.hbs.html',
context: {
key: 'value'
}
}

Fix is to first see if the source has a file attribute and use that.
This has the upside of allowing an array of sources even when using
the above notation.

sources.map() was giving map undefined when using this style:
'target2.html': {
          file: 'source.hbs.html',
          context: {
            key: 'value'
          }
        }

Fix is to first see if the source has a file attribute and use that.
This has the upside of allowing an array of sources even when using
the above notation.
@CLAassistant
Copy link

CLAassistant commented Jul 12, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Jeremy Kallman seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants