lib/souls/cli/delete/edge.rb in souls-1.8.3 vs lib/souls/cli/delete/edge.rb in souls-1.8.4
- old
+ new
@@ -7,10 +7,8 @@
singularized_class_name = class_name.underscore.singularize
file_path = "./app/graphql/types/edges/#{singularized_class_name}_edge.rb"
FileUtils.rm(file_path)
puts(Paint % ["Deleted file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }])
file_path
- rescue Thor::Error => e
- raise(Thor::Error, e)
end
end
end