Skip to content
Browse files

[fix] make sure to return contents on sync read

  • Loading branch information...
1 parent 3a7ea7a commit c5935b1a48011186e4141331bbe2a08a8580a850 @Swaagie Swaagie committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
2 index.js
@@ -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);
};
//
View
2 package.json
@@ -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": {

0 comments on commit c5935b1

Please sign in to comment.
Something went wrong with that request. Please try again.