doc/issue-service/sample.js
function createIssue (client, repo, title, body, labels) {
  return client.createIssue(repo, title, body, labels).then(convertIssue);
}
function createIssue (client, repo, title, body, labels) {
  return client.createIssue(repo, title, body, labels).then(convertIssue);
}
function createIssue ( client , repo , title , body , labels ) { return client . createIssue ( repo , title , body , labels ) . then ( convertIssue ) ; }
Assuming client.createIssue returns a promise of issue
Assuming client . createIssue returns a promise of issue