Skip to content

Commit

Permalink
Merge pull request #134 from tatgean/#132-add-use-cert-id-option
Browse files Browse the repository at this point in the history
Resolves #132
  • Loading branch information
sethlu authored May 21, 2017
2 parents ef27fba + f1b226a commit 2789bd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util-identities.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ module.exports.findIdentitiesAsync = function (opts, identity) {
return result.split('\n').map(function (line) {
if (line.indexOf(identity) >= 0) {
var identityFound = line.substring(line.indexOf('"') + 1, line.lastIndexOf('"'))
var identityHashFound = line.substring(line.indexOf(')') + 2, line.indexOf('"') - 1)
debuglog('Identity:', '\n',
'> Name:', identityFound)
return identityFound
'> Name:', identityFound, '\n',
'> Hash:', identityHashFound)
return identityHashFound
}
})
})
Expand Down

0 comments on commit 2789bd7

Please sign in to comment.