Skip to content

Commit

Permalink
Merge pull request #1 from noerw/master
Browse files Browse the repository at this point in the history
fix badges for non-standard cases
  • Loading branch information
RanzQ authored Aug 8, 2016
2 parents 4373ed3 + 54ba8e1 commit 33cdb68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ ejs.filters.badge = function (t) {
img += 'red';
break;
default:
img += 'blue';
break;
}

Expand Down Expand Up @@ -85,4 +86,4 @@ var data = {

data.prepend = argv.prepend ? fs.readFileSync(argv.prepend).toString() : null;
fs.writeFileSync(argv.output, template(data));
console.log('Wrote apidoc-markdown template output to: ' + argv.output);
console.log('Wrote apidoc-markdown template output to: ' + argv.output);

0 comments on commit 33cdb68

Please sign in to comment.