Skip to content

Commit fb543d6

Browse files
committed
Lesson 13 rename
1 parent 7ff3db2 commit fb543d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/task-async.js renamed to examples/13-task-async.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const writeFile = (fileName, contents) =>
2525
))
2626

2727

28-
const app = () =>
28+
const app = _ =>
2929

3030
// read file - returns Task
3131
readFile('config.json', 'utf-8')
@@ -55,7 +55,7 @@ const readFuture = future(fs.readFile)
5555
const writeFuture = future(fs.writeFile)
5656

5757
// setup the task
58-
const app1 = () =>
58+
const app1 = _ =>
5959
readFuture('config.json', 'utf-8')
6060
.map( contents => contents.replace(/8/g, '6') )
6161
.chain( contents => writeFuture('config2.json', contents) )

0 commit comments

Comments
 (0)