Skip to content

Commit

Permalink
[js] Use positive fake pids in nqp::p6fakerun
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Feb 1, 2019
1 parent 7b053d5 commit 17a2bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/rakudo-library.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports.capturedRun = /*async*/ function(source, input, compileArgs, args

const env = nqp.hash();

const pid = core.randomInt()[0];
const pid = core.fakePid();

const oldGetpid = nqp.op.getpid;

Expand Down

0 comments on commit 17a2bcc

Please sign in to comment.