Commit 28b2928e authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix +/- default of warning types in --help=warnings.

A regression introduced by the previous enhancement of Basic warning
class.
parent a3be7862
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ module JsDuck

      # Documentation for the warning.
      def doc
        " #{@enabled ? '+' : '-'}#{@type} - #{@msg}"
        " #{@rules[0][:enabled] ? '+' : '-'}#{@type} - #{@msg}"
      end

    end