Skip to content
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

Update snakeyaml to 1.24 #31

Merged
merged 2 commits into from
Mar 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ scalacOptions += "-Ywarn-value-discard"

addSbtPlugin("com.dwijnand" % "sbt-compat" % "1.2.6")

libraryDependencies += "org.yaml" % "snakeyaml" % "1.17"
libraryDependencies += "org.yaml" % "snakeyaml" % "1.24"

fork in Test := false
logBuffered in Test := false
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/sbttravisci/TravisCiPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ object TravisCiPlugin extends AutoPlugin {

if (manifest.exists()) {
Using.fileInputStream(manifest) { fis =>
val yaml = Option(new org.yaml.snakeyaml.Yaml().load(fis))
val yaml = Option(new org.yaml.snakeyaml.Yaml().load[Any](fis))
.collect { case map: java.util.Map[_, _] => map }

import scala.collection.JavaConverters._
Expand Down