Skip to content

Commit

Permalink
Merge pull request #795 from milgner/master
Browse files Browse the repository at this point in the history
Fix Reader argument conversion in static module
  • Loading branch information
dcodeIO committed May 15, 2017
2 parents 3a95945 + 429de19 commit 60fabe6
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 60fabe6

Please sign in to comment.