aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output.js')
-rw-r--r--lib/output.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js
index 827fa43a..b9d8a137 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -452,7 +452,7 @@ function OutputStream(options) {
var self = this;
var scan = node instanceof AST_Exit && node.value;
var comments = dump(node);
- if (!comments) return;
+ if (!comments) comments = [];
if (scan) {
var tw = new TreeWalker(function(node) {