mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-22 01:40:49 +00:00
glob both yml and yaml files
This commit is contained in:
parent
bb62f01b11
commit
8a4ddee37d
@ -63,7 +63,7 @@ module Voicemeeter
|
||||
@configpaths.each do |configpath|
|
||||
if configpath.exist?
|
||||
logger.debug "checking #{configpath} for configs"
|
||||
filepaths = configpath.glob("*.yml")
|
||||
filepaths = configpath.glob("*.{yaml,yml}")
|
||||
filepaths.each do |filepath|
|
||||
@filename = (filepath.basename.sub_ext "").to_s.to_sym
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user