       commit opts.repo, opts.user, opts.message
     .then (oid) ->
       push opts.repo, oid, opts.branch
-    .then ->
+    .then () ->
       newPullRequest opts.message, opts.branch
     .then (pr) ->
       callback "Pull Request ready ➜ #{pr.html_url}"

    github = new GitHub {token: process.env.GITHUB_TOKEN}
    repo = github.getRepo repoName
    repo.listPullRequests {state: 'open', head: "galtx-centex:#{head}"}
    .then (res) ->
      console.log "PR list %j", res
      reject "PR testing"
    .catch (err) ->
      reject "PR #{err}"

    .then (index) ->
      ndx = index
      ndx.addAll()
    .then () ->
      ndx.write()
      ndx.writeTree()
    .then (treeObj) ->
