Skip to content

Commit 7aa4ac9

Browse files
committed
Also escape \ in the default output directory
1 parent ee511b0 commit 7aa4ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ object Build {
890890
}
891891

892892
val wrappedArgs = if (printTasty) args else insertClasspathInArgs(args, extraClasspath.mkString(File.pathSeparator))
893-
val fullArgs = main :: defaultOutputDirectory ::: wrappedArgs.map("\""+ _ + "\"").map(_.replace("\\", "\\\\"))
893+
val fullArgs = main :: (defaultOutputDirectory ::: wrappedArgs).map("\""+ _ + "\"").map(_.replace("\\", "\\\\"))
894894

895895
(Compile / runMain).toTask(fullArgs.mkString(" ", " ", ""))
896896
}.evaluated,

0 commit comments

Comments
 (0)