-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable colored output for Scala 2 #2950
Conversation
@@ -534,7 +534,10 @@ class ZincWorkerImpl( | |||
stampReader = Stamps.timeWrapBinaryStamps(converter) | |||
) | |||
|
|||
val scalaColorProp = "scala.color" | |||
val previousScalaColor = sys.props.get(scalaColorProp).getOrElse("auto") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means, we will later "reset" it to a new value "auto" instead of the original value, in case it was not defined. I'd rather reset to the original, which means we need to unset when it was unset before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Fixes #2947
Pull Request: #2950