Skip to content

Commit

Permalink
Make the file Uri explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Oct 20, 2021
1 parent f31e280 commit 2b3e8ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AltCover.Engine/Canonical.fs
Expand Up @@ -11,7 +11,8 @@ open System.IO
module internal Canonical =

let canonicalPath (path:string) =
Uri(Path.GetFullPath path, UriKind.Absolute).LocalPath
// Mono+Linux barfs at a path of "/_"
Uri("file://" + (Path.GetFullPath path), UriKind.Absolute).LocalPath

#if !FAKE && !NoCanonicalDirectories
let canonicalDirectory (path:string) =
Expand Down

0 comments on commit 2b3e8ea

Please sign in to comment.