Browse files

fixes #14 by only creating files appropriately

  • Loading branch information...
1 parent 592d03f commit d44e436c5838226b387ff92ca0ad2fe6887fe55a @neocotic committed Feb 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/md
View
2 bin/md
@@ -109,7 +109,7 @@ parseHtml = (file, input, base) ->
output = md input, opts
if opts.print
console.log output
- else
+ else if file
writeMarkdown file, output, base
catch err
exit 1, err instanceof Error and err.stack or "ERROR: #{err}"

0 comments on commit d44e436

Please sign in to comment.