Skip to content

Commit

Permalink
Fixing code factor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pingu2k4 committed Aug 11, 2024
1 parent 9f85a15 commit 4baee14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ static string CombinePaths(string urlPath, string existingPath)
return existingPath;
}

if (!urlPath.EndsWith("/"))
if (!urlPath.EndsWith('/'))
{
urlPath += "/";
}

if (existingPath.StartsWith("/"))
if (existingPath.StartsWith('/'))
{
existingPath = existingPath.TrimStart('/');
}
Expand Down

0 comments on commit 4baee14

Please sign in to comment.