Compare commits
1 Commits
test-revie
...
assert-log
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9908df571 |
@@ -23,6 +23,10 @@ module.exports = function makeBadge({
|
||||
logoWidth,
|
||||
links = ['', ''],
|
||||
}) {
|
||||
if (!logo && (logoPosition !== undefined || logoWidth !== undefined)) {
|
||||
throw Error('`logoPosition` and `logoWidth` require `logo`')
|
||||
}
|
||||
|
||||
// String coercion and whitespace removal.
|
||||
label = `${label}`.trim()
|
||||
message = `${message}`.trim()
|
||||
|
||||
Reference in New Issue
Block a user