Permalink
Browse files

path fix

  • Loading branch information...
1 parent a522004 commit f1a18801ec185b903b80e1b57f15bc7e3d13c3c9 Gabriel Llamas committed Oct 7, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGES
  2. +1 −1 lib/read.js
View
@@ -1,5 +1,6 @@
v1.0.4 (07 Oct 2013)
When "namespaces" are in use the objects are merged correctly.
+ When "path" is used the callback is called correctly.
v1.0.3 (16 Aug 2013)
The paths from the imported files are relative to the current file.
View
@@ -442,7 +442,7 @@ module.exports = function (data, options, cb){
}else{
fs.readFile (data, { encoding: "utf8" }, function (error, data){
if (error) return cb (error);
- build (data, options, cb);
+ build (data, options, ".", cb);
});
}
}else{

0 comments on commit f1a1880

Please sign in to comment.