lib/souls/cli/delete/connection.rb in souls-1.17.3 vs lib/souls/cli/delete/connection.rb in souls-1.18.0
- old
+ new
@@ -1,13 +1,13 @@
-module Souls
+module SOULs
class Delete < Thor
desc "connection [CLASS_NAME]", "Delete GraphQL Connection"
def connection(class_name)
file_dir = "./app/graphql/types/connections/"
singularized_class_name = class_name.underscore.singularize
file_path = "#{file_dir}#{singularized_class_name}_connection.rb"
FileUtils.rm_f(file_path)
- Souls::Painter.delete_file(file_path)
+ SOULs::Painter.delete_file(file_path)
file_path
end
end
end