Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit 193957a

Browse files
committed
Fix block scope error in streaming.js. Refs #27
1 parent 0b5109f commit 193957a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/streaming.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/streaming.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ export class SqliteParserTransform extends Transform {
3232
this.lastError = e;
3333
}
3434
if (nextAst != null) {
35+
let serialized;
3536
try {
36-
const serialized = JSON.stringify(nextAst);
37+
serialized = JSON.stringify(nextAst);
3738
} catch (e) {
3839
// Serialize error
3940
return callback(e);

0 commit comments

Comments
 (0)