Skip to content

Commit

Permalink
Fix langsvr crashes on windows.
Browse files Browse the repository at this point in the history
Change-Id: If97466f622c8bde86746a3e3bd04a8e6f590dec9
  • Loading branch information
ben-clayton committed Mar 5, 2017
1 parent b33b758 commit 346d5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/langsvr/uri.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ func URItoPath(uri string) (string, error) {

// PathToURI returns the URI for the absolute filepath
func PathToURI(path string) string {
return "file://" + path
return "file://" + filepath.ToSlash(path)
}

0 comments on commit 346d5be

Please sign in to comment.