lib/tetra/ui/generate_archive_subcommand.rb in tetra-0.49.0 vs lib/tetra/ui/generate_archive_subcommand.rb in tetra-0.50.0
- old
+ new
@@ -4,11 +4,11 @@
# tetra generate-archive
class GenerateArchiveSubcommand < Tetra::Subcommand
def execute
checking_exceptions do
project = Tetra::Project.new(".")
- ensure_dry_running(false, project) do
- result_path = Tetra::Package.new(project).to_archive
+ ensure_dry_running(:has_finished, project) do
+ result_path = project.archive_sources
print_generation_result(project, result_path)
end
end
end
end