Skip to content

Commit e96c2ac

Browse files
committed
Removing redundant LoadError raise. File.exists? seems to have problems when included in other gems and returns false when files are indeed present.
1 parent 240f002 commit e96c2ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/coderay/helpers/plugin.rb

-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ def make_plugin_hash
176176
id = validate_id(plugin_id)
177177
path = path_to id
178178
begin
179-
raise LoadError, "#{path} not found" unless File.exist? path
180179
require path
181180
rescue LoadError => boom
182181
if @plugin_map_loaded

0 commit comments

Comments
 (0)