This commit is contained in:
Rikuoh Tsujitani 2024-04-26 09:07:49 +09:00
parent 04618d986f
commit 246800ddb1

2
ls.rb
View file

@ -15,7 +15,7 @@ SELECTED = options
def get_files(option_a: false)
if option_a
Dir.glob('*', File::FNM_DOTMATCH, base: SELECTED_OPTION[:dir])
Dir.glob('*', File::FNM_DOTMATCH, base: SELECTED[:dir])
else
Dir.glob('*', base: SELECTED[:dir])
end