From 4189d8e88810b98d8f06cdfc94eaa9338842e5e6 Mon Sep 17 00:00:00 2001 From: Max Thayer Date: Fri, 12 Jul 2013 16:15:58 -0400 Subject: [PATCH] typo --- tasks/couchapp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/couchapp.js b/tasks/couchapp.js index 93a36d2..c3c3415 100644 --- a/tasks/couchapp.js +++ b/tasks/couchapp.js @@ -74,7 +74,7 @@ module.exports = function(grunt) { db = genDB(this.data.db); try { nano = require('nano')(db.url); - nano.db.create(dbname, function(err) { + nano.db.create(db.name, function(err) { if (_this.data.options && _this.data.options.okay_if_exists) { if (err){ grunt.log.writeln("Database " + dbname + " exists, skipping");