diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-06 16:54:20 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-06 16:54:20 -0700 |
commit | bed3ecfb36c61ec78b93155ad4ae3f3a01a2f57f (patch) | |
tree | 9cb0c8fd6f4bdf274a5d3d07be8d2c07b773e3f4 /lib/chef/cookbook_version.rb | |
parent | b39cf567a0e39c989c85bfc92b5352a655eeac05 (diff) | |
download | chef-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/cookbook_version.rb')
-rw-r--r-- | lib/chef/cookbook_version.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/cookbook_version.rb b/lib/chef/cookbook_version.rb index a4b0815185..12adb50b4c 100644 --- a/lib/chef/cookbook_version.rb +++ b/lib/chef/cookbook_version.rb @@ -358,10 +358,10 @@ class Chef # extract the preference part from the path. if manifest_record_path =~ %r{(#{Regexp.escape(segment.to_s)}/[^/]+/#{Regexp.escape(dirname)})/.+$} - # Note the specificy_dirname includes the segment and - # dirname argument as above, which is what - # preferences_for_path returns. It could be - # "files/ubuntu-9.10/dirname", for example. + # Note the specificy_dirname includes the segment and + # dirname argument as above, which is what + # preferences_for_path returns. It could be + # "files/ubuntu-9.10/dirname", for example. specificity_dirname = $1 # Record the specificity_dirname only if it's in the list of |