Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
yurijmikhalevich committed Apr 3, 2015
1 parent ccf69f6 commit 43d2e36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/winston-mongodb.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ var MongoDB = exports.MongoDB = function(options) {
cb(null, db);
}
);
} else {
cb(null, db);
}
cb(null, db);
}

if ('string' === typeof this.db) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "winston-mongodb",
"license": "MIT",
"version": "1.1.0",
"version": "1.1.1",
"description": "A MongoDB transport for winston",
"author": "Charlie Robbins <[email protected]>",
"contributors": [
Expand Down

0 comments on commit 43d2e36

Please sign in to comment.