fastlane/lib/fastlane/actions/version_get_podspec.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/actions/version_get_podspec.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -2,11 +2,11 @@ module Actions class VersionGetPodspecAction < Action def self.run(params) podspec_path = params[:path] - UI.user_error!("Could not find podspec file at path '#{podspec_path}'") unless File.exist? podspec_path + UI.user_error!("Could not find podspec file at path '#{podspec_path}'") unless File.exist?(podspec_path) version_podspec_file = Helper::PodspecHelper.new(podspec_path) Actions.lane_context[SharedValues::PODSPEC_VERSION_NUMBER] = version_podspec_file.version_value end @@ -42,10 +42,10 @@ def self.authors ["Liquidsoul", "KrauseFx"] end def self.is_supported?(platform) - [:ios, :mac].include? platform + [:ios, :mac].include?(platform) end def self.example_code [ 'version = version_get_podspec(path: "TSMessages.podspec")'