mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-30 17:32:16 +00:00
Remove intermediate debugging from asc
This commit is contained in:
parent
4736227879
commit
8d4be9a714
@ -339,10 +339,9 @@ function processSourceMap(sourceMap, sourceMapURL) {
|
|||||||
});
|
});
|
||||||
++readCount;
|
++readCount;
|
||||||
}
|
}
|
||||||
if (found) {
|
if (found)
|
||||||
generator.setSourceContent(name, text);
|
generator.setSourceContent(name, text);
|
||||||
console.log(name + " ???");
|
else
|
||||||
} else
|
|
||||||
console.error("No source content found for file '" + name + "'.");
|
console.error("No source content found for file '" + name + "'.");
|
||||||
});
|
});
|
||||||
return generator.toString();
|
return generator.toString();
|
||||||
@ -368,7 +367,8 @@ if (!args.noEmit) {
|
|||||||
: null;
|
: null;
|
||||||
var binary;
|
var binary;
|
||||||
writeTime += measure(() => {
|
writeTime += measure(() => {
|
||||||
binary = module.toBinary("http://127.0.0.1:8080/"+sourceMapURL); // FIXME: 'not a valid URL' in FF
|
// FIXME: 'not a valid URL' in FF (wants http(s)://.../url)
|
||||||
|
binary = module.toBinary(sourceMapURL);
|
||||||
fs.writeFileSync(args.binaryFile, binary.output);
|
fs.writeFileSync(args.binaryFile, binary.output);
|
||||||
});
|
});
|
||||||
++writeCount;
|
++writeCount;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user