From 24bfe0977e445f8f2f8b87470d994f2f59846e24 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia <7854099+viferga@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:45:31 -0400 Subject: [PATCH] Update inspect.ts --- src/cli/inspect.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cli/inspect.ts b/src/cli/inspect.ts index f819bbd..1c6e54f 100644 --- a/src/cli/inspect.ts +++ b/src/cli/inspect.ts @@ -217,7 +217,10 @@ const rawInspectToOpenAPIv3 = ( }; const ensureDeploymentsExist = (res: Deployment[]): boolean => { - if (res.length) return true; + if (res.length) { + return true; + } + warn('Your MetaCall Hub account has no active deployments.'); info( '`metacall-deploy` is a command you can use to deploy your application.' @@ -225,6 +228,7 @@ const ensureDeploymentsExist = (res: Deployment[]): boolean => { info( '`metacall-deploy --help` can be used to get more information about the aforementioned command.' ); + return false; };