lib/cocoapods-core/source/health_reporter.rb
# Checks for any stray specification in the repo.
#
# @param  [Array<Pathname>] analyzed_paths
#         The specification to check.
#
# @return [void]
#
Checks for any stray specification in the repo.
Checks for any stray specification in the repo .
def check_stray_specs
        all_paths = Pathname.glob(source.repo + '**/*.podspec{,.json}')
        stray_specs = all_paths - report.analyzed_paths
        stray_specs.each do |path|
          report.add_message(:error, 'Stray spec', path)
        end
      end
def check_stray_specs all_paths = Pathname . glob ( source . repo + '**/*.podspec{,.json}' ) stray_specs = all_paths - report . analyzed_paths stray_specs . each do | path | report . add_message ( :error , 'Stray spec' , path ) end end
Checks for any stray specification in the repo.
Checks for any stray specification in the repo .
None
void
<not_specific>
analyzed_paths The specification to check.
analyzed_paths The specification to check .