Commits

Dương Nguyễn committed 6bf4dd5 Draft

Use String's path_exists? instead of function

Comments (0)

Files changed (1)

   def read_settings
     Settings.merge! EspadaSettings
 
-    if !path_exists? Settings.path
+    if !Settings.path.path_exists?
       create_dir Settings.path
     else
       saved_settings = read_file_json Settings.get_config_file(:settings)