Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
Renamed variable for issue #117
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiers committed Jan 5, 2017
1 parent a4632a9 commit 6bf5390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GitLink/Providers/BitBucketProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace GitLink.Providers

public class BitBucketProvider : ProviderBase
{
private readonly Regex _gitHubRegex = new Regex(@"(?<url>(?<companyurl>(?:https://)?bitbucket\.org/(?<company>[^/]+))/(?<project>[^/]+))");
private readonly Regex _bitBucketRegex = new Regex(@"(?<url>(?<companyurl>(?:https://)?bitbucket\.org/(?<company>[^/]+))/(?<project>[^/]+))");

public BitBucketProvider()
: base(new GitPreparer())
Expand All @@ -27,7 +27,7 @@ public override string RawGitUrl

public override bool Initialize(string url)
{
var match = _gitHubRegex.Match(url);
var match = _bitBucketRegex.Match(url);

if (!match.Success)
{
Expand Down

0 comments on commit 6bf5390

Please sign in to comment.