Skip to content

Commit

Permalink
Merge pull request #33 from neonstalwart/patch-2
Browse files Browse the repository at this point in the history
properly convert fs.readFile since it is declared without a callback arg...
  • Loading branch information
kriszyp committed Nov 15, 2012
2 parents 3a36e44 + 1bdfbb1 commit 220aa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for (var i in fs) {
exports[i] = fs[i];
}
else{
exports[i] = convertNodeAsyncFunction(fs[i]);
exports[i] = convertNodeAsyncFunction(fs[i], i === "readFile");
}
}
function File(fd){
Expand Down

0 comments on commit 220aa09

Please sign in to comment.