Skip to content
Permalink
Browse files

[js] Fix after function signature change in nqp

  • Loading branch information...
pmurias committed Dec 28, 2018
1 parent e233f28 commit 52de9657d34257075df642fa164249d03b46d2ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vm/js/rakudo-library.js
@@ -136,7 +136,7 @@ module.exports.capturedRun = /*async*/ function(source, input, compileArgs, args
}

$$readfh(buf, bytes) {
core.writeBuffer(buf, this.source.slice(0, bytes));
core.writeBuffer(buf, 0, this.source.slice(0, bytes));
this.source = this.source.slice(bytes);
return buf;
}

0 comments on commit 52de965

Please sign in to comment.
You can’t perform that action at this time.