Skip to content

Commit 765db42

Browse files
committed
outdated_modules_and_their_version: use File.exist? instead of File.exists?
1 parent 1c83e21 commit 765db42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/outdated_modules_and_their_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ width_modules = 6
1212
# min width is width of String "modulesync_config version"
1313
width_version = 25
1414
Dir.glob('modules/voxpupuli/puppet-*').sort.each do |f|
15-
if File.exists?(f + '/.msync.yml')
15+
if File.exist?(f + '/.msync.yml')
1616
version_module = YAML.load_file(f + '/.msync.yml')['modulesync_config_version']
1717
mod = (f).split('/')[2]
1818
if version != version_module

0 commit comments

Comments
 (0)