Skip to content

Allow authentication to Travis Pro using GitHub access token - #24

Open
AlexanderC wants to merge 1 commit into
pwmckenna:masterfrom
MitocGroup:master
Open

Allow authentication to Travis Pro using GitHub access token#24
AlexanderC wants to merge 1 commit into
pwmckenna:masterfrom
MitocGroup:master

Conversation

@AlexanderC

Copy link
Copy Markdown

No description provided.

@rexxars rexxars left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Some tests would be great. Also noted a few minor style issues.

Comment thread lib/travis-encrypt.js
}

function encryptTravisProData (options, callback) {
function encryptTravisProData (options, callback, type) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move type to second argument to match callback style always being the last argument

Comment thread lib/travis-encrypt.js
function getRepoKeyAndEncrypt (client, options, callback) {
client.repos(options.owner, options.repo).key.get(
function onTravisRepoResponse (keyError, res) {
function onTravisRepoResponse (keyError, res) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing spaces here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants