mirror of https://github.com/sbt/sbt.git
Change type to command_exec
This commit is contained in:
parent
1b1f2abfbe
commit
19b079caf2
|
|
@ -55,7 +55,7 @@ object Serialization {
|
|||
implicit val formats = DefaultFormats
|
||||
|
||||
(json \ "type").toOption match {
|
||||
case Some(JString("execution")) =>
|
||||
case Some(JString("command_exec")) =>
|
||||
(json \ "command_line").toOption match {
|
||||
case Some(JString(cmd)) => Right(Execution(cmd))
|
||||
case _ => Left("Missing or invalid command_line field")
|
||||
|
|
|
|||
Loading…
Reference in New Issue