Skip to content

Commit

Permalink
Tidy obsolete option.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Mar 14, 2016
1 parent c9c48b4 commit ca6acd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function out(opts, cb) {
opts.input = opts.input || process.stdin;
opts.output = opts.output || process.stdout;
opts.type = opts.type || 'markdown';
opts.render = opts.render || {stream: process.stdout};
opts.render = opts.render || {};

if(opts.type === 'json') {
opts.input.pipe(opts.output);
Expand Down

0 comments on commit ca6acd2

Please sign in to comment.