diff options
author | Graeme Yeates <yeatesgraeme@gmail.com> | 2016-06-13 16:44:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-13 16:44:50 -0400 |
commit | 966e75c50385e693e13ab3feb12c9217daf2724b (patch) | |
tree | 98325171bbe272c747288e8863a2aea3fe0fbc93 /README.md | |
parent | 247cf276e873830d74a95123b4c33bd85e3a1225 (diff) | |
parent | 23289eb1373b569f89d0722bbddfa561ac94f95b (diff) | |
download | async-966e75c50385e693e13ab3feb12c9217daf2724b.tar.gz |
Merge pull request #1185 from xbrightmatterx/readme-patch
Update README, syntax correction
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -315,7 +315,7 @@ async.each(openFiles, function(file, callback) { // Perform operation on file here. console.log('Processing file ' + file); - if( file.length > 32 ) { + if (file.length > 32) { console.log('This file name is too long'); callback('File name too long'); } else { @@ -325,7 +325,7 @@ async.each(openFiles, function(file, callback) { } }, function(err){ // if any of the file processing produced an error, err would equal that error - if( err ) { + if (err) { // One of the iterations produced an error. // All processing will now stop. console.log('A file failed to process'); |