Skip to content

Commit

Permalink
chore: update bintray log message to output correct user
Browse files Browse the repository at this point in the history
The log message outputs the correct user being used to hit the bintray API, 'user' field if defined, if not 'owner'.

electron-userland#848
  • Loading branch information
jimm1419 committed Oct 27, 2016
1 parent 3458f0b commit f5ab502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5ab502

Please sign in to comment.