Skip to content

Commit

Permalink
Fixed typo error in pull request that broke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Sep 26, 2011
1 parent 3b5a96f commit 80d3099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongodb/gridfs/gridstore.js
Expand Up @@ -103,7 +103,7 @@ var GridStore = exports.GridStore = function(db, fileIdObject, mode, options) {
*/
GridStore.prototype.open = function(callback) {
if( this.mode != "w" && this.mode != "w+" && this.mode != "r"){
callback(new Error("Illegal mode " + self.mode), null);
callback(new Error("Illegal mode " + this.mode), null);
return;
}

Expand Down

0 comments on commit 80d3099

Please sign in to comment.