diff options
author | Tim Smith <tsmith@chef.io> | 2019-04-17 13:21:28 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-04-19 13:54:44 -0700 |
commit | 80d0b50aa6ce9ee8b8c6c79a9f994efa4a38ce7f (patch) | |
tree | ea0bdeb5a26d2931d9123ff1462d6f82cdec927b /lib/chef | |
parent | 6b176a369ac25e791e9fab868f8ce6b29f239051 (diff) | |
download | chef-80d0b50aa6ce9ee8b8c6c79a9f994efa4a38ce7f.tar.gz |
Break the error message into 2 sentences
We can English
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/application.rb | 4 | ||||
-rw-r--r-- | lib/chef/application/windows_service.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index b476e476e4..717d9e588b 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -132,10 +132,10 @@ class Chef config[:config_file] = config_fetcher.expanded_path if config[:config_file].nil? - logger.warn("No config file found or specified on command line, using command line options instead.") + logger.warn("No config file found or specified on command line. Using command line options instead.") elsif config_fetcher.config_missing? logger.warn("*****************************************") - logger.warn("Did not find config file: #{config[:config_file]}, using command line options instead.") + logger.warn("Did not find config file: #{config[:config_file]}. Using command line options instead.") logger.warn("*****************************************") else config_content = config_fetcher.read_config diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb index 44eded5050..de570068e3 100644 --- a/lib/chef/application/windows_service.rb +++ b/lib/chef/application/windows_service.rb @@ -313,7 +313,7 @@ class Chef end rescue Errno::ENOENT Chef::Log.warn("*****************************************") - Chef::Log.warn("Did not find config file: #{config[:config_file]}, using command line options instead.") + Chef::Log.warn("Did not find config file: #{config[:config_file]}. Using command line options instead.") Chef::Log.warn("*****************************************") Chef::Config.merge!(config) |