From d3d0b9dd41888a8dfb2f36912a6be31eddce4037 Mon Sep 17 00:00:00 2001 From: Brad Wood Date: Wed, 18 Aug 2021 14:20:09 -0500 Subject: [PATCH] Found bug in prune command --- build/build.xml | 2 +- .../modules_app/server-commands/commands/server/prune.cfc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build/build.xml b/build/build.xml index 750278a3..ea2c926f 100644 --- a/build/build.xml +++ b/build/build.xml @@ -16,7 +16,7 @@ External Dependencies: - + diff --git a/src/cfml/system/modules_app/server-commands/commands/server/prune.cfc b/src/cfml/system/modules_app/server-commands/commands/server/prune.cfc index d05d43f5..cbefa7ec 100644 --- a/src/cfml/system/modules_app/server-commands/commands/server/prune.cfc +++ b/src/cfml/system/modules_app/server-commands/commands/server/prune.cfc @@ -33,8 +33,7 @@ component { .sort( (a,b) => a.daysLastStarted - b.daysLastStarted ); if( JSON ){ - print.line(prunableServers) - .toConsole(); + print.line(prunableServers); return; }