Permalink
Browse files

Whitespace

  • Loading branch information...
1 parent 5390c34 commit e3c4d9f5d342a33f48a6a4fa5327c1355ded6277 @brianloveswords brianloveswords committed Sep 19, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/bakery.js
View
@@ -93,11 +93,8 @@ exports.debake = function debake(image, callback) {
exports.parseResponse = function parseResponse(response, body, callback) {
if (typeof body !== 'string')
return callback(null, body);
-
var obj;
- try {
- obj = JSON.parse(body);
- }
+ try { obj = JSON.parse(body) }
catch (err) {
var original = err;
var err = new Error('Could not parse JSON at endpoint');

0 comments on commit e3c4d9f

Please sign in to comment.