lib/souls/cli/delete/query.rb in souls-1.8.3 vs lib/souls/cli/delete/query.rb in souls-1.8.4
- old
+ new
@@ -5,10 +5,8 @@
singularized_class_name = class_name.singularize
file_path = "./app/graphql/queries/#{singularized_class_name}*.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