Skip to content

Commit ff99874

Browse files
authored
docs(readme) function -> arrow function
1 parent 0e9a946 commit ff99874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spawn.on('close', () => {
4141
});
4242

4343
/* not mandatory */
44-
spawn.on('exit', function() {
44+
spawn.on('exit', () => {
4545
console.log('process closed');
4646
});
4747
```

0 commit comments

Comments
 (0)