From 3f4f6e551c5367da1423b552162664b74206eae3 Mon Sep 17 00:00:00 2001 From: Daniel Levy Date: Wed, 27 Jul 2016 11:19:44 -0600 Subject: [PATCH] Fix syntax 'error' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b9c0ee..2ffde0c 100644 --- a/README.md +++ b/README.md @@ -376,7 +376,7 @@ Here is a pseudocode implementation of what `a` might look like: function a(done) { download('https://pbs.twimg.com/media/B4DDWBrCEAA8u4O.jpg:large', function doneDownloading(error, png) { // handle error if there was one - if (err) console.log('uh-oh!', error) + if (error) console.log('uh-oh!', error) // call done when you are all done done()