typo
This commit is contained in:
parent
3e68f28192
commit
4189d8e888
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue