typo
This commit is contained in:
parent
4fe15a7769
commit
14fca52c64
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue