Skip to content

Commit 737fb36

Browse files
committed
do not warn about plugin fallback
1 parent 1ad7564 commit 737fb36

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Changes.textile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ h2. Changes in 1.1
77
* Diff scanner: Highlight inline changes in multi-line changes [#99]
88
* Remove double-click toggle handler from HTML table output
99
* Fixes to CSS scanner (floats, pseudoclasses)
10+
* Plugin does not warn about fallback when default is defined
1011
* Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom]
1112
* @CodeRay::TokenKinds@ should not be frozen [#130, thanks to Gavin Kistner]
1213

lib/coderay/helpers/plugin.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ def make_plugin_hash
180180
rescue LoadError => boom
181181
if @plugin_map_loaded
182182
if h.has_key?(:default)
183-
warn '%p could not load plugin %p; falling back to %p' % [self, id, h[:default]]
184183
h[:default]
185184
else
186185
raise PluginNotFound, '%p could not load plugin %p: %s' % [self, id, boom]

0 commit comments

Comments
 (0)