Commit f1d60edf authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Do Markdown and {@link} expansion when --stdout used.

Somehow it was missing in when doing stdout export while it
was nicely present in standard json export. Probably I forgot
to add it there by myself.
parent ab2ba60a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ module JsDuck

      clear_output_dir unless @opts.export == :stdout
      if @opts.export == :stdout
        format_classes
        puts JsonDuck.generate(@relations.classes)
      elsif @opts.export == :json
        FileUtils.mkdir(@opts.output_dir)