lib/command/cleanup_stale_apps.rb in cpflow-3.0.1 vs lib/command/cleanup_stale_apps.rb in cpflow-4.0.0

- old
+ new

@@ -71,9 +71,9 @@ Shell.confirm("\nAre you sure you want to delete these #{stale_apps.length} apps?") end def delete_app(app) - Cpflow::Cli.start(["delete", "-a", app, "--yes"]) + run_cpflow_command("delete", "-a", app, "--yes") end end end