Skip to content

Commit

Permalink
Merge pull request #4 from MorganLindqvist/master
Browse files Browse the repository at this point in the history
Fixed typos in README.md
  • Loading branch information
brianc committed Dec 13, 2014
2 parents 20ff92f + c975532 commit 522488c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function doSomething(path, cb) {
var ok = require('okay');

function doSomething(path, cb) {
fs.readDir(path, ok(cb, function(files)){
fs.readDir(path, ok(cb, function(files){
async.map(files, fs.readFile, ok(cb, function(contents) {
return cb(null, contents.join('\n'));
}));
Expand All @@ -41,7 +41,7 @@ function doSomething(path, cb) {
//callback function right away
//if there was no error, call the new error-less cb

fs.readDir(path, ok(cb, function(files)){
fs.readDir(path, ok(cb, function(files){

//if there was an error reading any file, bubble the error out to the
//callback function right away
Expand Down

0 comments on commit 522488c

Please sign in to comment.