Skip to content

Commit bc15e60

Browse files
authored
Merge pull request #494 from mashabow/patch-1
Fix typo in Chapter 09
2 parents fef48d3 + f13ced1 commit bc15e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch09.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ const upload = (filename, callback) => {
313313
throw new Error('You need a filename!');
314314
} else {
315315
readFile(filename, (errF, contents) => {
316-
if (errF) throw err;
316+
if (errF) throw errF;
317317
httpPost(contents, (errH, json) => {
318318
if (errH) throw errH;
319319
callback(json);

0 commit comments

Comments
 (0)