Skip to content
Permalink
Browse files

[js] Update rakudo-library to source maps being on by default

  • Loading branch information...
pmurias committed Mar 4, 2019
1 parent 3e51bd4 commit 4f8a16e01e4a9e483caf1745e054c30c5df1daf2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/vm/js/rakudo-library.js
@@ -25,8 +25,8 @@ module.exports.compile = function(source, options = {}) {

passedArgs = ['perl6-js', '--output', tmpFile, '--target=js', source];

if (options.sourceMap) {
passedArgs.splice(1, 0, '--source-map');
if (!options.sourceMap) {
passedArgs.splice(1, 0, '--no-source-map');
}

if (Object.prototype.hasOwnProperty.call(nqp.op.getstdout(), '$$writefh')) {

0 comments on commit 4f8a16e

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