Skip to content

Commit

Permalink
Fix upload task discarded non-Unit result
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Troshin committed Dec 24, 2019
1 parent ca6cbb9 commit 17e61cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object SonicDependencyTreePlugin extends AutoPlugin {
val client = getS3Client(sonicDependenciesS3Credentials.value, "")
val bucketName = s"$s3BucketValue/$s3BasePathValue"
log.info(s"Uploading dependency tree to: s3://$bucketName/$uploadFilenameValue")
client.putObject(bucketName, uploadFilenameValue, treeJson)
val _ = client.putObject(bucketName, uploadFilenameValue, treeJson)
}

private def printTreeWithCommitTask = Def.task {
Expand Down

0 comments on commit 17e61cc

Please sign in to comment.