lib/souls/generate/mutation.rb in souls-0.22.9 vs lib/souls/generate/mutation.rb in souls-0.23.0
- old
+ new
@@ -268,10 +268,10 @@
create_mutation_after_params class_name: singularized_class_name, relation_params: relation_params
create_mutation_end(class_name: singularized_class_name)
update_mutation(class_name: singularized_class_name)
delete_mutation(class_name: singularized_class_name)
destroy_delete_mutation(class_name: singularized_class_name)
- puts "Created file! : #{file_path}"
+ puts Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }]
file_path
rescue StandardError => e
raise StandardError, e
end
end