Skip to content

Commit

Permalink
Fix typo in callback for file:// resource error
Browse files Browse the repository at this point in the history
  • Loading branch information
bfirsh committed Oct 8, 2012
1 parent 29d4dfd commit f931715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zombie/resources.coffee
Expand Up @@ -234,7 +234,7 @@ class Resources extends Array
FS.readFile Path.normalize(url.pathname), (error, data)=>
# Fallback with error -> callback
if error
callback err
callback error
else
# Turn body from string into a String, so we can add property getters.
resource.response = new HTTPResponse(url, 200, {}, String(data))
Expand Down

0 comments on commit f931715

Please sign in to comment.