Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Makes all paths use / instead of \
Browse files Browse the repository at this point in the history
Signed-off-by: ncordon <nacho.cordon.castillo@gmail.com>
  • Loading branch information
ncordon committed Sep 30, 2019
1 parent 64a194f commit dbfc4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/org/bblfsh/client/v2/libuast/Libuast.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ object Libuast {
case os if (os.contains("linux")) => ".so"
case os if (os.contains("windows")) => ".dll"
}
val fullLibName = name + ext
val path = Paths.get("lib", fullLibName).toString
val libName = name + ext
val path = "lib/" + libName
val in = getClass.getClassLoader.getResourceAsStream(path)
if (null == in) {
val msg = s"Failed to load library '$name' from '$path'"
Expand Down

0 comments on commit dbfc4ea

Please sign in to comment.