Skip to content

Commit

Permalink
Remove debug statement (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs authored Apr 25, 2023
1 parent 6254007 commit d09fb4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Shared/PackageManagers/GitHubProjectManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ public static IEnumerable<PackageURL> ExtractGitHubUris(PackageURL purl, string
return repositoryList;
}

/// <summary>
/// Parse a GitHub URL into a PackageURL object.
/// </summary>
/// <param name="purl"> Package URL of the package to download. </param>
/// <returns>PackageURL object for the provided Uri</returns>
public static PackageURL ParseUri(Uri uri)
{
Match match = GithubMatchRegex.Match(uri.AbsoluteUri);
if (!match.Success)
{
var x = 1;
}
GroupCollection matches = match.Groups;
PackageURL packageURL = new(
"github",
Expand Down

0 comments on commit d09fb4c

Please sign in to comment.