Skip to content

Commit e6e7f3a

Browse files
committed
Replace '.' with '-' in Appveyor links
They apparently replace both '.' and '_' in URLs. Fixes #1220.
1 parent 6802c05 commit e6e7f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/badge-appveyor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default Component.extend({
2828

2929
projectName: computed('badge.attributes.project_name', function() {
3030
return this.get('badge.attributes.project_name') ||
31-
this.get('badge.attributes.repository').replace(/_/g, '-');
31+
this.get('badge.attributes.repository').replace(/[_.]/g, '-');
3232
}),
3333

3434
service: computed('badge.attributes.service', function() {

0 commit comments

Comments
 (0)