Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
send the "--validate" output thru a logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robey Pointer committed Feb 28, 2012
1 parent 4869080 commit 0e42b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/twitter/sbt/PackageDist.scala
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ object PackageDist extends Plugin {
}.map { file =>
s.log.info("Validating config file: " + file.absolutePath)
val args = List("java", "-jar", jar.absolutePath, "-f", file.absolutePath, "--validate")
if (Process(args).run().exitValue != 0) {
if (Process(args).run(s.log).exitValue != 0) {
throw new Exception("Failed to validate config file: " + file.toString)
}
file
Expand Down

0 comments on commit 0e42b3b

Please sign in to comment.