Skip to content

Commit

Permalink
style: Remove semicolon
Browse files Browse the repository at this point in the history
The code after onResult execution already contains semicolons.
  • Loading branch information
ShenChang618 committed Dec 28, 2019
1 parent 747a667 commit 28ed4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AsyncSeriesBailHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AsyncSeriesBailHookCodeFactory extends HookCodeFactory {
onResult: (i, result, next) =>
`if(${result} !== undefined) {\n${onResult(
result
)};\n} else {\n${next()}}\n`,
)}\n} else {\n${next()}}\n`,
resultReturns,
onDone
});
Expand Down

0 comments on commit 28ed4a2

Please sign in to comment.