Method: Bundler::UI::Shell#warn
- Defined in:
- lib/bundler/ui/shell.rb
#warn(msg, newline = nil, color = :yellow) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/bundler/ui/shell.rb', line 31 def warn(msg, newline = nil, color = :yellow) return unless level("warn") return if @warning_history.include? msg @warning_history << msg tell_err(msg, color, newline) end |