Skip to content

Commit

Permalink
Fixed coverage file url paths (spaces would break hyperlinks when out…
Browse files Browse the repository at this point in the history
…putting to console).
  • Loading branch information
Xenomega committed Nov 16, 2018
1 parent 49fb55b commit 4a0395c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Meadow.CoverageReport/MiscUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static class MiscUtil

public static string GetFileUrl(string filePath)
{
filePath = Path.GetFullPath(filePath);
filePath = Path.GetFullPath(filePath).Replace(" ", "%20", StringComparison.InvariantCulture);
var uri = "file:///" + filePath;
return uri;
}
Expand Down

0 comments on commit 4a0395c

Please sign in to comment.