lib/rsence/plugins/plugin.rb in rsence-pre-2.3.0.23 vs lib/rsence/plugins/plugin.rb in rsence-pre-2.3.0.24
- old
+ new
@@ -285,10 +285,10 @@
ses = msg.session
if not ses.has_key?(:deps)
ses[:deps] = []
end
( found, path ) = guess_js_path( js_name )
- return false unless found == :none
+ return false if found == :none
unless ses[:deps].include?( path )
ses[:deps].push( path )
return read_js( path )
else
return ''