diff options
author | George Fraser <george@fivetran.com> | 2019-01-08 19:22:45 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-01-08 19:22:45 -0800 |
commit | 727bd8341afc689c842385a234647b8f7b22de21 (patch) | |
tree | 73230e098d2a6e72fc72901f4363b46530433f15 /src/test/java/org/javacs/FindResource.java | |
parent | 46e72551e73f1de2417102fd3d7fbc358a42cfa6 (diff) | |
download | java-language-server-727bd8341afc689c842385a234647b8f7b22de21.zip |
Eliminate SourcePath, docpath isn't quite working
Diffstat (limited to 'src/test/java/org/javacs/FindResource.java')
-rw-r--r-- | src/test/java/org/javacs/FindResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/javacs/FindResource.java b/src/test/java/org/javacs/FindResource.java index 6e6860e..55c00fa 100644 --- a/src/test/java/org/javacs/FindResource.java +++ b/src/test/java/org/javacs/FindResource.java @@ -29,6 +29,6 @@ public class FindResource { public static Path path(String resourcePath) { if (resourcePath.startsWith("/")) resourcePath = resourcePath.substring(1); - return Paths.get("./src/test/test-project/workspace/src").resolve(resourcePath).normalize(); + return Paths.get("./src/test/test-project/workspace/src").resolve(resourcePath).toAbsolutePath().normalize(); } } |