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