CocoaPods / cocoapods-acknowledgements

CocoaPods plugin that generates a plist which includes the installation metadata
MIT License
111 stars 17 forks source link

Fixing adding same file multiple times to group #23

Closed marcelofabri closed 8 years ago

marcelofabri commented 8 years ago

file.real_path is a Pathname, while plist_path is a String with a relative path (that's why the File.expand_path is needed.

Without this change, file_ref is always nil, so the files is added repeatedly to the Pods group (once each pod install).