Fix obsolete function call.
This commit is contained in:
parent
b1c7a5ed13
commit
1724b509a1
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module Qasim
|
||||||
|
|
||||||
@maps = []
|
@maps = []
|
||||||
map_dirs = [@config_dir, APP_SYSCONFIG_DIR].select{ |d|
|
map_dirs = [@config_dir, APP_SYSCONFIG_DIR].select{ |d|
|
||||||
File.exists? d and File.directory? d
|
File.exist? d and File.directory? d
|
||||||
}
|
}
|
||||||
Find.find( *map_dirs ) do |path|
|
Find.find( *map_dirs ) do |path|
|
||||||
if File.file? path
|
if File.file? path
|
||||||
|
|
Loading…
Reference in a new issue