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

      console.log "push #{src}:#{dst}"
      pushOpts = callbacks: credentials: auth
      remote.push ["#{src}:#{dst}"], pushOpts
    .then ->
      resolve()
    .catch (err) ->
      reject "Push #{err}"

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