Skip to content

Commit

Permalink
[fix] make sure to return contents on sync read
Browse files Browse the repository at this point in the history
  • Loading branch information
Swaagie committed Feb 25, 2014
1 parent 3a7ea7a commit c5935b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function Handbook() {
// synchronously by omitting the callback.
//
Handbook.prototype.get = function get(file, callback) {
read.apply(this, arguments);
return read.apply(this, arguments);
};

//
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Nodejitsu <support@nodejitsu.com> (http://nodejitsu.com)",
"name": "nodejitsu-handbook",
"description": "A gentle introduction to the art of nodejitsu",
"version": "0.6.1",
"version": "0.6.2",
"subdomain": "handbook",
"homepage": "http://www.nodejitsu.com/docs",
"repository": {
Expand Down

0 comments on commit c5935b1

Please sign in to comment.