Skip to content

Commit 8e6d36f

Browse files
authored
remove unused var
1 parent 322a258 commit 8e6d36f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ module.exports = (options = {}) => {
2424

2525
stream.write(before)
2626

27-
let ended = false
2827
;(async () => {
2928
let first = true
3029
try {
@@ -37,7 +36,6 @@ module.exports = (options = {}) => {
3736
}
3837
stream.write(JSON.stringify(value, null, spaces))
3938
}
40-
ended = true
4139
} catch (err) {
4240
if (!first) {
4341
stream.write(separator)
@@ -50,4 +48,4 @@ module.exports = (options = {}) => {
5048
}
5149
})()
5250
}
53-
}
51+
}

0 commit comments

Comments
 (0)