Skip to content

Commit

Permalink
Fix another
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmelnikow committed Jan 6, 2019
1 parent 247ec0f commit 9f61eaa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions services/gitlab/gitlab-pipeline-status.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ module.exports = class GitlabPipelineStatus extends BaseSvgScrapingService {
static get route() {
return {
base: 'gitlab/pipeline',
format: '([^/]+)/([^/]+)(?:/([^/]+))?',
capture: ['user', 'repo', 'branch'],
// Trailing optional parameters don't work. The issue relates to the `.`
// separator before the extension.
// pattern: ':user/:repo/:branch?',
pattern: ':user/:repo/:branch?',
queryParams: ['gitlab_url'],
}
}
Expand Down

0 comments on commit 9f61eaa

Please sign in to comment.