Skip to content

Commit

Permalink
Another windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
2m committed Jun 23, 2018
1 parent 9366987 commit 32093f8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ trait GitHubResolver {
case Some(dir) => new File(dir)
}
val file = path match {
case p if p.startsWith(root.getAbsolutePath) => new File(p)
case p if p.startsWith("/") => new File(root, path.drop(1))
case p => new File(page.file.getParentFile, path)
case p if p.startsWith(Path.toUnixStyleRootPath(root.getAbsolutePath)) => new File(p)
case p if p.startsWith("/") => new File(root, path.drop(1))
case p => new File(page.file.getParentFile, path)
}
val labelFragment =
for {
Expand Down

0 comments on commit 32093f8

Please sign in to comment.