Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a8c6959

Browse files
committedApr 27, 2018
fix: typo
1 parent 3116afe commit a8c6959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/util/parseHeaders.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const removeMarkdownToken = str => str
1919

2020
// put here to avoid circular references
2121
const compose = (...processors) => {
22-
if (processors.length === 0) input => input
23-
if (processors.length === 1) processors[0]
22+
if (processors.length === 0) return input => input
23+
if (processors.length === 1) return processors[0]
2424
return processors.reduce((prev, next) => {
2525
return (...args) => next(prev(...args))
2626
})

0 commit comments

Comments
 (0)
Please sign in to comment.