Minor linting issue

This commit is contained in:
Oscar Shrimpton
2018-01-30 20:50:32 +00:00
parent 49bb734c28
commit 51074375bf

View File

@ -9,7 +9,7 @@ The tenerary function checks the next function exists before calling it, otherwi
```js
const chainAsync = fns => {
let curr = 0;
const next = () => fns[++curr] ? fns[curr](next) : false;
const next = () => (fns[++curr] ? fns[curr](next) : false);
next();
};
```