lib/snapshot/test_command_generator.rb in snapshot-1.12.1 vs lib/snapshot/test_command_generator.rb in snapshot-1.12.2
- old
+ new
@@ -22,10 +22,10 @@
# This will also include the scheme (if given)
# @return [Array] The array with all the components to join
def project_path_array
proj = Snapshot.project.xcodebuild_parameters
return proj if proj.count > 0
- raise "No project/workspace found"
+ UI.user_error!("No project/workspace found")
end
def options
config = Snapshot.config