Load default config if no cli args specified
This commit is contained in:
parent
06855816d7
commit
8f4def5407
|
@ -12,6 +12,10 @@ class Ameba::Config
|
|||
Config.new YAML.parse(content)
|
||||
end
|
||||
|
||||
def self.load(path : Nil)
|
||||
self.load
|
||||
end
|
||||
|
||||
def files
|
||||
@files ||= default_files
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue