Skip to content

Commit

Permalink
[js] Remove a check for a method that's uneeded in our model
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Oct 9, 2018
1 parent 1f6e45a commit 209b20e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/vm/js/nqp-runtime/io.js
Expand Up @@ -39,12 +39,7 @@ op.print = function(arg) {
};

op.say = function(arg) {
if (process.stdout) {
process.stdout.write(arg);
process.stdout.write('\n');
} else {
console.log(arg);
}
process.stdout.write(arg + '\n');
return arg;
};

Expand Down

0 comments on commit 209b20e

Please sign in to comment.