mirror of
https://github.com/sbt/sbt.git
synced 2026-10-07 02:23:37 +02:00
Change "command_exec" to just "exec"
This commit is contained in:
@@ -56,7 +56,7 @@ object Serialization {
|
||||
implicit val formats = DefaultFormats
|
||||
|
||||
(json \ "type").toOption match {
|
||||
case Some(JString("command_exec")) =>
|
||||
case Some(JString("exec")) =>
|
||||
(json \ "command_line").toOption match {
|
||||
case Some(JString(cmd)) => Right(Execution(cmd))
|
||||
case _ => Left("Missing or invalid command_line field")
|
||||
|
||||
Reference in New Issue
Block a user