Skip to content

Commit

Permalink
Fix a bug that happens with git submodules in some cases
Browse files Browse the repository at this point in the history
Fixes #7
  • Loading branch information
gregkare committed Aug 11, 2014
1 parent 922a499 commit fd81c6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/health_inspector/checklists/cookbooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def validate_changes_on_the_server_not_in_the_repo
Chef::CookbookVersion::COOKBOOK_SEGMENTS.each do |segment|
cookbook.manifest[segment].each do |manifest_record|
path = cookbook_path.join("#{manifest_record['path']}")
next if path.basename.to_s == '.git'

if path.exist?
checksum = checksum_cookbook_file(path)
Expand Down

0 comments on commit fd81c6d

Please sign in to comment.