Skip to content

Commit

Permalink
Cookstyle 7.17.0 Fixes
Browse files Browse the repository at this point in the history
Issues found and resolved with: tasks/changelog.rake

 - 48:25 convention: Style/WordArray - Use [] for an array of words. https://rubystyle.guidepercent-w
 - 49:33 convention: Style/WordArray - Use [] for an array of words. https://rubystyle.guidepercent-w

Signed-off-by: Xorima Bot <[email protected]>
  • Loading branch information
xorimabot committed Aug 12, 2021
1 parent 8d8be16 commit 8278d3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- resolved cookstyle error: tasks/changelog.rake:48:25 convention: `Style/WordArray`
- resolved cookstyle error: tasks/changelog.rake:49:33 convention: `Style/WordArray`
- resolved cookstyle error: resources/inspec_gem.rb:1:1 refactor: `Chef/Deprecations/ResourceWithoutUnifiedTrue`
- resolved cookstyle error: spec/unit/recipes/default_spec.rb:40:7 warning: `ChefDeprecations/DeprecatedChefSpecPlatform`
- resolved cookstyle error: spec/unit/recipes/default_spec.rb:56:7 warning: `ChefDeprecations/DeprecatedChefSpecPlatform`
Expand Down
4 changes: 2 additions & 2 deletions tasks/changelog.rake
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ begin
config.future_release = "v#{metadata.version}"
config.user = 'chef-cookbooks'
config.project = 'audit'
config.bug_labels = %w(bug Bug Type:\ Bug )
config.enhancement_labels = %w(enhancement Enhancement Type:\ Enhancement )
config.bug_labels = ['bug', 'Bug', 'Type: Bug']
config.enhancement_labels = ['enhancement', 'Enhancement', 'Type: Enhancement']
end
rescue LoadError
puts 'Problem loading gems please install chef and github_changelog_generator'
Expand Down

0 comments on commit 8278d3b

Please sign in to comment.