Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
RedSparr0w committed Jul 26, 2018
1 parent 9dc2b99 commit 3ce9bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/badge-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function getSimpleIcon(icon = '', color = 'whitesmoke'){
return undefined;
}
color = makeColor(color) || 'whitesmoke';
return svg = simpleIcons[icon].svg.replace('<svg', `<svg fill="${color}"`);
return simpleIcons[icon].svg.replace('<svg', `<svg fill="${color}"`);
}

function makeLogo(defaultNamedLogo, overrides) {
Expand Down

0 comments on commit 3ce9bef

Please sign in to comment.