Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixing cradle crash on startup (missing callback) #13

Closed
wants to merge 1 commit into from

1 participant

@lpetre

This fixes the immediate crash I was seeing in issue #12

@lpetre lpetre closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 22, 2012
  1. @lpetre
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  server/web.js
View
2  server/web.js
@@ -26,7 +26,7 @@ var couchdb_options = couchdb_url.auth ?
{ auth: { username: couchdb_url.auth.split(':')[0], password: couchdb_url.auth.split(':')[1] } } :
{ }
var db = new(cradle.Connection)(couchdb_url.hostname, couchdb_url.port || 5984, couchdb_options).database('make');
-db.create();
+db.create(function(){});
// POST /make starts a build
app.post('/make', function(request, response, next) {
Something went wrong with that request. Please try again.