Skip to content

Commit

Permalink
Fix path-separator on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Li Haoyi committed Aug 6, 2015
1 parent a33c8c0 commit efa8a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repl/src/main/scala/ammonite/repl/interp/Classpath.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object Classpath {
val files = collection.mutable.Buffer.empty[java.io.File]
files.appendAll(
System.getProperty("sun.boot.class.path")
.split(":")
.split(java.io.File.pathSeparator)
.map(new java.io.File(_))
)
while(current != null){
Expand Down

0 comments on commit efa8a12

Please sign in to comment.