Skip to content

Commit 246ec20

Browse files
committed
update protobufs
1 parent bc4ed90 commit 246ec20

File tree

2 files changed

+1185
-1092
lines changed

2 files changed

+1185
-1092
lines changed

src/lib/project-fetcher-hoc.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@ function protobufToJson(buffer) {
131131
}
132132

133133
for (const block in target.blocks) {
134+
if (target.blocks[block].is_variable_reporter) {
135+
newTarget.blocks[block] = [
136+
target.blocks[block].varReporterBlock.first_num,
137+
target.blocks[block].varReporterBlock.name,
138+
target.blocks[block].varReporterBlock.id,
139+
target.blocks[block].varReporterBlock.second_num,
140+
target.blocks[block].varReporterBlock.third_num,
141+
]
142+
continue;
143+
}
144+
134145
newTarget.blocks[block] = {
135146
opcode: target.blocks[block].opcode,
136147
next: target.blocks[block].next || null,

0 commit comments

Comments
 (0)