Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit 62c5458

Browse files
committed
Updated BitBucket URL converter as well
1 parent 7095a54 commit 62c5458

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SourceLink.Create.BitBucket/BitBucketUrlConverter.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ public static string Convert(string origin)
1111
origin = origin.Replace(':', '/');
1212
origin = origin.Replace("git@", "https://");
1313
}
14-
origin = origin.Replace(".git", "");
14+
origin = origin.Replace(".git", string.Empty);
15+
origin = origin.Replace("/", string.Empty);
1516
var uri = new System.Uri(origin);
1617
return "https://bitbucket.org" + uri.LocalPath + "/raw/{commit}/*";
1718
}

0 commit comments

Comments
 (0)