Skip to content

Conversation

@kiranjthomas
Copy link
Contributor

eachUrlPart should return the reverse of urlParts so that a caller can properly construct the url via a loop.

urlParts = [git-changelog-lib, tomasbjerre, git@github.com]

someTemplate.mustache

https://github.com/{{#eachUrlPart .}}{{#if @first}}{{else}}{{.}}/{{/if}}{{/eachUrlPart}}

output

https://github.com/tomasbjerre/git-changelog-lib/

@tomasbjerre tomasbjerre changed the title chore: reverse list for eachUrlPart fix: reverse list for eachUrlPart Jan 26, 2025
@tomasbjerre
Copy link
Owner

Merged manually

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.

2 participants