aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js
index 07fe1d2e..142ee013 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -32,7 +32,7 @@ function run(args) {
}
try {
- run(this.arguments ? arguments : []);
+ run(this.args ? this.args : (this.arguments ? this.arguments : []));
} catch (e) {
print("Fatal exception: " + e);
throw e;