Skip to content

Commit

Permalink
md2html treats '-' as stdin to be unix like too
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Apr 8, 2012
1 parent 15b9e06 commit f81e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/md2html.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
process.exit();
}

if (fullpath) {
if (fullpath && fullpath !== "-") {
stream = fs.createReadStream(fullpath);
} else {
stream = process.stdin;
Expand Down

0 comments on commit f81e0d1

Please sign in to comment.