genDB was repeated. deleted the second one

This commit is contained in:
James E. Marca 2013-10-16 12:32:43 -07:00
parent d0f8fb3d21
commit 179a876615
1 changed files with 2 additions and 12 deletions

View File

@ -22,16 +22,6 @@ var genDB = function(db) {
};
};
var genDB = function(db) {
var parts, dbname, auth;
parts = urls.parse(db);
dbname = parts.pathname.replace(/^\//, '');
auth = parts.auth ? (parts.auth + '@') : '';
return {
name: dbname,
url: parts.protocol + '//' + auth + parts.host
};
};
module.exports = function(grunt) {