Skip to content

Commit

Permalink
Update inspect.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Aug 27, 2024
1 parent 478f63e commit 24bfe09
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cli/inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,18 @@ 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.'
);
info(
'`metacall-deploy --help` can be used to get more information about the aforementioned command.'
);

return false;
};

Expand Down

0 comments on commit 24bfe09

Please sign in to comment.