snapshot/lib/snapshot/runner.rb in fastlane-2.102.0 vs snapshot/lib/snapshot/runner.rb in fastlane-2.103.0

- old
+ new

@@ -120,9 +120,18 @@ return if Snapshot.config[:skip_helper_version_check] current_version = version_of_bundled_helper UI.verbose("Checking that helper files contain #{current_version}") helper_files = Update.find_helper + if helper_files.empty? + UI.error("Your Snapshot Helper file is missing, please place a copy") + UI.error("in your project directory") + UI.message("More information about Snapshot setup can be found here:") + UI.message("https://docs.fastlane.tools/actions/snapshot/#quick-start") + UI.user_error!("Please add a Snapshot Helper file to your project") + return + end + helper_files.each do |path| content = File.read(path) unless content.include?(current_version) UI.error("Your '#{path}' is outdated, please run `fastlane snapshot update`")