lib/config_skeleton.rb in config_skeleton-2.2.0 vs lib/config_skeleton.rb in config_skeleton-2.2.1

- old
+ new

@@ -337,10 +337,10 @@ # to make sure everything's up-to-date. # # @return [void] # def write_initial_config - if File.exists?(config_file) + if File.exist?(config_file) logger.info(logloc) { "Triggering a config regen on startup to ensure config is up-to-date" } regenerate_config else logger.info(logloc) { "No existing config file #{config_file} found; writing one" } File.write(config_file, instrumented_config_data)