lib/souls/cli/generate/application.rb in souls-1.8.3 vs lib/souls/cli/generate/application.rb in souls-1.8.4

- old
+ new

@@ -8,12 +8,10 @@ run_rbs_scaffold(singularized_class_name) else run_scaffold(singularized_class_name) end true - rescue Thor::Error => e - raise(Thor::Error, e) end desc "scaffold_all", "Generate Scaffold All Tables from schema.rb" method_option :rbs, type: :boolean, aliases: "--rbs", default: false, desc: "Generates Only RBS All Schema Files" def scaffold_all @@ -24,11 +22,9 @@ else Souls::Generate.new.invoke(:scaffold, [table.singularize], {}) end end true - rescue Thor::Error => e - raise(Thor::Error, e) end private def run_scaffold(class_name)