mirror of https://github.com/getmango/Mango.git
Fix plugin hot load
This commit is contained in:
parent
8349fb68a4
commit
c6adb4ee18
|
@ -88,8 +88,7 @@ class Plugin
|
|||
getter storage_path = ""
|
||||
|
||||
def self.build_info_ary
|
||||
return unless @@info_ary.empty?
|
||||
|
||||
@@info_ary.clear
|
||||
dir = Config.current.plugin_path
|
||||
Dir.mkdir_p dir unless Dir.exists? dir
|
||||
|
||||
|
|
Loading…
Reference in New Issue