                     <br><br>
                     <pre style="border: 1px solid #d3d4c7;background: #fdf6e3;padding: 1em;overflow-x: scroll;"><code>
                     <a href="https://api.github.com/gists#{ url }">GET https://api.github.com/gists#{ url }</a>
-                    #{ github_response.statusCode }
+                    #{ github_response?.statusCode }
                     <hr style="border: 0;border-top: 1px solid #d3d4c7;">
                     #{ github_response_content }
                     </code></pre>

getGist = (url, cb) ->
    GIST_API = 'https://api.github.com/gists'
    post_req = rest.get(GIST_API + url)
    post_req.on 'complete', (data, response) ->
        cb(data, response)


cli                 = require 'cli'
sys                 = require 'sys'

{ htmlResponse }    = require '../src/http_utils'
renderer            = require '../src/renderer'
