diff options
-rw-r--r-- | lib/serve.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/serve.js b/lib/serve.js index 78ff104..6c8941c 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -1803,11 +1803,11 @@ Serve.prototype.gitCommit = function (rev) { : JSON.stringify(file)) ]) }), - Catch(function (err) { - if (err && err.name === 'ObjectNotFoundError') return - if (err && err.name === 'BlobNotFoundError') return self.askWantBlobsForm(err.links) - return false - }) + Catch(function (err) { + if (err && err.name === 'ObjectNotFoundError') return + if (err && err.name === 'BlobNotFoundError') return self.askWantBlobsForm(err.links) + return false + }) )) ] ]), |