From 8a4ddee37d52d6e16b5cd60cdc4dd14dacbf8f3e Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 2 Aug 2023 14:15:21 +0100 Subject: [PATCH] glob both yml and yaml files --- lib/voicemeeter/configs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/voicemeeter/configs.rb b/lib/voicemeeter/configs.rb index ca0be73..e19a2c3 100644 --- a/lib/voicemeeter/configs.rb +++ b/lib/voicemeeter/configs.rb @@ -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