We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d448810 commit aa9516dCopy full SHA for aa9516d
library/src/scala/quoted/Toolbox.scala
@@ -49,8 +49,10 @@ object Toolbox {
49
showRawTree: Boolean = false,
50
outDir: Option[String] = None,
51
compilerArgs: List[String] = Nil
52
- ): Settings =
53
- new Settings(outDir, showRawTree, compilerArgs)
+ ): Settings = {
+ val colorArg = if (color) "-color:always" else "-color:never"
54
+ new Settings(outDir, showRawTree, colorArg :: compilerArgs)
55
+ }
56
}
57
58
class ToolboxNotFoundException(msg: String, cause: ClassNotFoundException) extends Exception(msg, cause)
0 commit comments