Skip to content

Commit

Permalink
Fixes issue #27 error when output to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
taxilian committed Dec 10, 2011
1 parent b5e1271 commit a64abdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/jsctags.js
Expand Up @@ -270,4 +270,6 @@ if (opts.hasOwnProperty('jsonp')) {
tags.write(out, opts);
}

out.end();
if (out != process.stdout) {
out.end();
}

0 comments on commit a64abdd

Please sign in to comment.