         console.log error, body
       else
         pullRequests = JSON.parse(body)
-          .filter (pullRequest) ->
-            new Date(pullRequest.merged_at) > time
-          .filter (pullRequest) ->
-            pullRequest.base.ref is baseBranch
+         .filter (pullRequest) ->
+           new Date(pullRequest.merged_at) > time
+         .filter (pullRequest) ->
+           pullRequest.base.ref is baseBranch
         if pullRequests.length
           printPullRequestsReport(pullRequests)
         else

username = config.username
password = config.password
repoPath = config.repo_path
baseBranch = config.repo_branch or 'master'

repoUrl = "#{GITHUB_REPO_API_ROOT}#{repoPath}"

callGithubAPI = ({url, callback}) ->
  request

      switch response.statusCode
        when 200
          createdAt = (JSON.parse(body).filter (release) =>
            ((release.target_commitish is 'master') or isHotfix) and !release.prerelease)[0]?.created_at
          lastedReleaseTime = if createdAt then new Date(createdAt) else new Date(1970,1,1)
          console.log "Last release time is #{lastedReleaseTime.toLocaleDateString()} #{lastedReleaseTime.toLocaleTimeString()}\n"
          resolve(lastedReleaseTime)
