Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Remove addons- prefix from repo names
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Jan 23, 2019
1 parent 239ee5b commit eff7c25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/MilestoneIssues.js
Expand Up @@ -149,7 +149,11 @@ class MilestoneIssues extends Component {
}
});

const repoName = issue.repository_url.split('/').slice(-1).join('/');
const repoName = issue.repository_url
.split('/')
.slice(-1)
.join('/')
.replace('addons-', '');
/* eslint-disable jsx-a11y/href-no-hash */
return (
<Tr key={idx}>
Expand Down

0 comments on commit eff7c25

Please sign in to comment.