Skip to content

Commit e2b40a5

Browse files
committed
Merge pull request #14 from abatilo/master
Use === in generated code
2 parents 142798a + f75d8da commit e2b40a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function getNewLineDelimitedJSONDecodingStream<T>(): TransformStream<string, T>
169169
}
170170
controller.buf += chunk
171171
while (controller.pos < controller.buf.length) {
172-
if (controller.buf[controller.pos] == '\n') {
172+
if (controller.buf[controller.pos] === '\n') {
173173
const line = controller.buf.substring(0, controller.pos)
174174
const response = JSON.parse(line)
175175
controller.enqueue(response.result)

0 commit comments

Comments
 (0)