Skip to content

Commit f13ced1

Browse files
authored
Fix typo in Chapter 09
1 parent 736984f commit f13ced1

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)