Merge pull request #2 from badunk/find-readme

Quick fix for bowerJson.find() example
This commit is contained in:
André Cruz
2013-05-19 05:26:42 -07:00

View File

@@ -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);