Commit 2e1ea47e authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Output link text for invalid @links.

Instead of the whole original {@link ...}
parent 92e49b97
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -111,10 +111,10 @@ module JsDuck
        line = @doc_context[:linenr]
        if !@relations[cls]
          puts "Warning: #{file} line #{line} #{input} links to non-existing class."
          input
          text
        elsif member && !get_member_type(cls, member)
          puts "Warning: #{file} line #{line} #{input} links to non-existing member."
          input
          text
        else
          link(cls, member, text)
        end