Skip to content

Commit

Permalink
Only check for insecure github URLs in metadata.rb
Browse files Browse the repository at this point in the history
Don't waste cycles checking this in other files

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Jul 19, 2019
1 parent f909c0d commit cae119d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/cookstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ Chef/TmpPath:
Chef/InsecureCookbookURL:
Description: Insecure http Github or Gitlab URLs for metadata source_url/issues_url fields
Enabled: true
Include:
- '**/metadata.rb'

###############################
# Resolving Deprecations
Expand Down

0 comments on commit cae119d

Please sign in to comment.