diff --git a/app/lib/mscript/index.js b/app/lib/mscript/index.js index 708b7c9..e2fac5e 100644 --- a/app/lib/mscript/index.js +++ b/app/lib/mscript/index.js @@ -122,6 +122,8 @@ class Mscript { if (typeof callback !== 'undefined') { //should only be invoked by running mscript.tests() callback(this.output); + } else { + return this.output; } } variable (line) {