Fix plugin hot load

This commit is contained in:
Alex Ling 2020-07-26 12:56:29 +00:00
parent 8349fb68a4
commit c6adb4ee18
1 changed files with 1 additions and 2 deletions

View File

@ -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