Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Changex.Formatter.Markdown): pass version in opts instead arguments
Previously there was an inconsistency between `Changex.Formatter.Markdown` and `Changex.Formatter.Elixir` where in `Elixir` it would take the version as part of the opts list and in `Markdown` it was a separate argument. In commit c3919d4 it is made clear that the intention was to pass an opts instead of the version, however this change was node made for `Markdown` at the same time. The format function between the two modules is now consistent. The `update` and `diff` tasks have been updated to use the new function with an arity of 2. BREAKING CHANGE: Calling `Changex.Formatter.Markdown.format` with an arity of 3 is no longer valid. The `version` should be specified as a keyword in the second argument which is a keyword list.
- Loading branch information
Gary Rennie
committed
Dec 4, 2014
1 parent
42c5719
commit 34bd26d
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters