From 82675f8eee8a9a16b827796d632872f815ffbe96 Mon Sep 17 00:00:00 2001 From: Vitaliy Kudryk Date: Sat, 2 Nov 2024 15:30:18 +0200 Subject: [PATCH] upd --- lib/latex_yearly_planner/cli/app.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/latex_yearly_planner/cli/app.rb b/lib/latex_yearly_planner/cli/app.rb index b5561bb6..58b66e59 100644 --- a/lib/latex_yearly_planner/cli/app.rb +++ b/lib/latex_yearly_planner/cli/app.rb @@ -20,8 +20,7 @@ def self.exit_on_failure? default: './out' def generate(path_to_yaml_file) - result = HighLevel::Planner::Generate.call(path_to_yaml_file:, **options) - raise result.error if result.failure? + HighLevel::Planner::Generate.call(path_to_yaml_file:, **options) puts 'Generated' end