This commit is contained in:
Max Thayer 2013-07-12 16:15:58 -04:00
parent 4fe15a7769
commit 14fca52c64
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ module.exports = function(grunt) {
db = genDB(this.data.db); db = genDB(this.data.db);
try { try {
nano = require('nano')(db.url); 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 (_this.data.options && _this.data.options.okay_if_exists) {
if (err){ if (err){
grunt.log.writeln("Database " + dbname + " exists, skipping"); grunt.log.writeln("Database " + dbname + " exists, skipping");