Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong authored Aug 18, 2024
1 parent 322a258 commit 8e6d36f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = (options = {}) => {

stream.write(before)

let ended = false
;(async () => {
let first = true
try {
Expand All @@ -37,7 +36,6 @@ module.exports = (options = {}) => {
}
stream.write(JSON.stringify(value, null, spaces))
}
ended = true
} catch (err) {
if (!first) {
stream.write(separator)
Expand All @@ -50,4 +48,4 @@ module.exports = (options = {}) => {
}
})()
}
}
}

0 comments on commit 8e6d36f

Please sign in to comment.