From ef5bf4af945bd3dad5e9164a6fb06bdc519254b1 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 28 Mar 2024 03:16:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20of=20CLI=20runWithPlatf?= =?UTF-8?q?orm=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/cli/lib/run-with-platform.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tdrive/backend/node/src/cli/lib/run-with-platform.ts b/tdrive/backend/node/src/cli/lib/run-with-platform.ts index b26e6b43..0b5a8874 100644 --- a/tdrive/backend/node/src/cli/lib/run-with-platform.ts +++ b/tdrive/backend/node/src/cli/lib/run-with-platform.ts @@ -12,10 +12,8 @@ import type { TdrivePlatform } from "../../core/platform/platform"; * Start the platform and its services, run the command (passed as * the `handler` callback), then cleanly shut down the platform. * @param prefix Prefix text to set on the Ora spinner - * @param handler Callback to run the actual command. - * - If it returns a number, that will be the exit code of the process. - * - No attempt to catch errors is done here. If it throws, the platform - * shutdown will be skipped and normal unhandled exception stuff will go on. + * @param handler Callback to run the actual command. If it returns a number, + * that will be the exit code of the process. */ export default async function runWithPlatform( prefix: string,