Skip to content

Commit

Permalink
refactor(transport): remove redundant guard (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Jan 1, 2023
1 parent cac71e0 commit c177f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const teeTransport = options => {
return line => {
const res = new Parse(line)

if (!res || !res.value) {
if (!res.value) {
throw new Error('Failed to parse line: ', line)
}

Expand Down

0 comments on commit c177f88

Please sign in to comment.