New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow templating #409
Allow templating #409
Conversation
Why did you do these changes that can be seen here? This means you are using now template literals on your test, which is replacing the Your tests where you try to use Line 48 in 65deb54
|
The linting stage of the test was failing before this change. But you are right that lodash wont get to the
But why would the tests run if this was the case? -- sry I'm new to Javascript. :(
So since I implemented the changes like for the label templating I think this should work and be fine? (: -- Or am I missing something? |
Sorry, I was mistaken, the env vars object is indeed available on the context passed to the template functions, just under the name In that sense, now I understood why your tests are succeeding, even though you were using I could definitely use this functionality as well so from me a 👍 for the contribution. :) |
Thanks for your work @kaerbr, I left some comments, ping me if you need support! |
@kaerbr Thanks for adapting the tests! Ping me once you addressed the other comments - also if I should take over something! |
@fgreinacher I think I replied to all comments or pushed changes. -- waiting for your review/answers. (: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kaerbr, looking great!
🎉 This PR is included in version 9.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I added templating functioniality to
url
,type
andfilepath
like already done in #365 forlabel
.Closes #406
Hope you like it (: