Skip to content

Commit

Permalink
cli now dresses all .md files in cwd by default
Browse files Browse the repository at this point in the history
Closes #4.
  • Loading branch information
dasilvacontin committed Aug 30, 2015
1 parent ea587f7 commit ffd6afe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ program

var files = program.args
if (files.length === 0) {
files = ['CHANGELOG.md']
files = _.filter(fs.readdirSync('.'), function (file) {
return _.endsWith(file, '.md')
})
}

var config = {}
Expand Down

0 comments on commit ffd6afe

Please sign in to comment.