CycloneDX / cyclonedx-cocoapods

Creates CycloneDX Software Bill-of-Materials (SBOM) from Objective-C and Swift projects that use CocoaPods.
Apache License 2.0
21 stars 12 forks source link

Fix parsing podfile with inhibit_warnings_with_condition method #54

Closed DwayneCoussement closed 1 year ago

DwayneCoussement commented 1 year ago

Currently if you have a method as following in your Podfile, it fails parsing

inhibit_warnings_with_condition do |pod_name, pod_target|
  %w(
     Realm
     ).include? pod_name
end

This fix makes sure that the show will go on.