From f5ab502d65a3c9e01b1fb674adb121db7582f08f Mon Sep 17 00:00:00 2001 From: James Montgomery Date: Thu, 27 Oct 2016 11:34:18 -0600 Subject: [PATCH] chore: update bintray log message to output correct user The log message outputs the correct user being used to hit the bintray API, 'user' field if defined, if not 'owner'. #848 --- src/builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builder.ts b/src/builder.ts index 17f446a0f3b..99cac984f68 100644 --- a/src/builder.ts +++ b/src/builder.ts @@ -290,7 +290,7 @@ export async function createPublisher(packager: Packager, publishConfig: Publish } if (publishConfig.provider === "bintray") { const bintrayInfo: BintrayOptions = config - log(`Creating Bintray Publisher — user: ${bintrayInfo.owner}, package: ${bintrayInfo.package}, repository: ${bintrayInfo.repo}, version: ${version}`) + log(`Creating Bintray Publisher — user: ${bintrayInfo.user || bintrayInfo.owner}, owner: ${bintrayInfo.owner}, package: ${bintrayInfo.package}, repository: ${bintrayInfo.repo}, version: ${version}`) return new BintrayPublisher(bintrayInfo, version, options) } return null