summaryrefslogtreecommitdiff
path: root/lib/chef/application
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-06 16:54:20 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-06 16:54:20 -0700
commitbed3ecfb36c61ec78b93155ad4ae3f3a01a2f57f (patch)
tree9cb0c8fd6f4bdf274a5d3d07be8d2c07b773e3f4 /lib/chef/application
parentb39cf567a0e39c989c85bfc92b5352a655eeac05 (diff)
downloadchef-bed3ecfb36c61ec78b93155ad4ae3f3a01a2f57f.tar.gz
Align all our comments with the code
Autocorrected with chefstyle after enabling that cop. It was very hard to read some complex autocorrected blocks w/o this. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/application')
-rw-r--r--lib/chef/application/apply.rb2
-rw-r--r--lib/chef/application/exit_code.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application/apply.rb b/lib/chef/application/apply.rb
index 7267f4ecfa..33a8a97f5b 100644
--- a/lib/chef/application/apply.rb
+++ b/lib/chef/application/apply.rb
@@ -232,7 +232,7 @@ class Chef::Application::Apply < Chef::Application
Chef::Application.fatal!("#{e.class}: #{e.message}", e)
end
- # Get this party started
+ # Get this party started
def run(enforce_license = false)
reconfigure
check_license_acceptance if enforce_license
diff --git a/lib/chef/application/exit_code.rb b/lib/chef/application/exit_code.rb
index fb1519e573..3235bfadeb 100644
--- a/lib/chef/application/exit_code.rb
+++ b/lib/chef/application/exit_code.rb
@@ -139,8 +139,8 @@ class Chef
def notify_on_deprecation(message)
Chef.deprecated(:exit_code, message)
rescue Chef::Exceptions::DeprecatedFeatureError
- # Have to rescue this, otherwise this unhandled error preempts
- # the current exit code assignment.
+ # Have to rescue this, otherwise this unhandled error preempts
+ # the current exit code assignment.
end
def non_standard_exit_code_warning(exit_code)