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; };