Skip to content

Commit

Permalink
Merge pull request #2 from badunk/find-readme
Browse files Browse the repository at this point in the history
Quick fix for bowerJson.find() example
  • Loading branch information
satazor committed May 19, 2013
2 parents 0742e18 + c56026c commit efea613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bower-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bowerJson.find('/path/to/folder', function (err, filename) {
console.log('Filename: ', filename);

// Now that we got the filename, we can read its contents
bowerJson.read(filename, function () {
bowerJson.read(filename, function (err, json) {
if (err) {
console.error('There was an error reading the file');
console.error(err.message);
Expand Down

0 comments on commit efea613

Please sign in to comment.