Permalink
Browse files

fix for async parameterized readFile

  • Loading branch information...
1 parent 7033bbb commit 2d4e80e139d01176bf70132bc80caed946cd6682 @substack committed Feb 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/async.js
View
@@ -63,7 +63,7 @@ module.exports = function resolve (x, opts, cb) {
if (err) return cb(err);
if (!ex) return loadAsFile(path.join(x, '/index'), cb);
- readFile(pkgfile, 'utf8', function (err, body) {
+ readFile(pkgfile, function (err, body) {
if (err) return cb(err);
try {
var pkg = JSON.parse(body);

0 comments on commit 2d4e80e

Please sign in to comment.