fastlane/lib/fastlane/actions/copy_artifacts.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/actions/copy_artifacts.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -21,10 +21,10 @@
UI.verbose("Copying artifacts #{artifacts.join(', ')} to #{target_path}")
UI.verbose(params[:keep_original] ? "Keeping original files" : "Not keeping original files")
if params[:fail_on_missing]
missing = artifacts.reject { |a| File.exist?(a) }
- UI.user_error! "Not all files were present in copy artifacts. Missing #{missing.join(', ')}" unless missing.empty?
+ UI.user_error!("Not all files were present in copy artifacts. Missing #{missing.join(', ')}") unless missing.empty?
else
# If we don't fail on non-existent files, don't try to copy non-existent files
artifacts.select! { |artifact| File.exist?(artifact) }
end