Skip to content

Commit

Permalink
Fix Reader argument conversion in static module
Browse files Browse the repository at this point in the history
  • Loading branch information
milgner committed May 14, 2017
1 parent 3a95945 commit 429de19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/targets/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ function buildType(ref, type) {
++indent;
push("if (!(reader instanceof $Reader))");
++indent;
push("reader = $Reader(reader);");
push("reader = new $Reader(reader);");
--indent;
push("return this.decode(reader, reader.uint32());");
--indent;
Expand Down

0 comments on commit 429de19

Please sign in to comment.