Skip to content

Commit

Permalink
Stop using a link for default badge template
Browse files Browse the repository at this point in the history
npm cannot handle links.
See npm/npm#13884.
  • Loading branch information
espadrine committed Sep 8, 2016
1 parent 7ea0d81 commit b5e14ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function makeImage(data, cb) {
data.format = 'svg';
}
if (!(data.template + '-' + data.format in templates)) {
data.template = 'default';
data.template = 'flat';
}
if (data.colorscheme) {
var pickedColorscheme = colorscheme[data.colorscheme];
Expand Down
1 change: 0 additions & 1 deletion templates/default-template.svg

This file was deleted.

0 comments on commit b5e14ce

Please sign in to comment.